Hey all,
I've been dorking around with IPFW for the past few days on my FreeNAS box and I'm having some trouble with the syntax for it.
I want to allow access to the server via the LAN but do not want any contact to the server from the Internet what so ever.
I've been using this:
I'm pretty sure I'm shooting myself in the foot with those last two. How do I deny outside access to the server and only let access to it via my LAN? I really only use SSH to access the box and would like to keep it that way as well as the webGUI which I access via a custom port of 5177. So essentially, I would like SSH and webGUI access (via 5177) on my LAN.
I hope I elaborated well enough.
If not, chew my ass out
Was having some weird activity to the server the other night so that's why I'm doing this
Thanks for your time!
I've been dorking around with IPFW for the past few days on my FreeNAS box and I'm having some trouble with the syntax for it.
I want to allow access to the server via the LAN but do not want any contact to the server from the Internet what so ever.
I've been using this:
ipfw add allow ip from me to 10.21.1.0 ipfw add allow tcp from me to 10.21.1.0 ipfw add deny ip from me to any ipfw add deny tcp from me to anyI'm pretty sure I'm shooting myself in the foot with those last two. How do I deny outside access to the server and only let access to it via my LAN? I really only use SSH to access the box and would like to keep it that way as well as the webGUI which I access via a custom port of 5177. So essentially, I would like SSH and webGUI access (via 5177) on my LAN.
I hope I elaborated well enough.
If not, chew my ass out
Was having some weird activity to the server the other night so that's why I'm doing this
Thanks for your time!