I am running 7.2-p3 as my router/gateway for my home network. I followed the instructions in the handbook for setting up IPFW/NATD, and everything is working great.
One thing I would like to change though is the the gateway server appears to be publicly accessable. I am geting a lot of error messages about failed ssh login attempts from addresses outside my network. How can I block any traffic from getting to the server directly (instead of being passed through to my private network)?
I am using the standard OPEN rules:
One thing I would like to change though is the the gateway server appears to be publicly accessable. I am geting a lot of error messages about failed ssh login attempts from addresses outside my network. How can I block any traffic from getting to the server directly (instead of being passed through to my private network)?
I am using the standard OPEN rules:
Code:
00050 divert 8668 ip4 from any to any via re0
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
65000 allow ip from any to any
65535 deny ip from any to any