Is it possibile to alow port forwarding only for specific IP public addresses

Posted by adopilot on Server Fault See other posts from Server Fault or by adopilot
Published on 2010-12-21T08:30:06Z Indexed on 2010/12/21 8:55 UTC
Read the original article Hit count: 391

Filed under:
|
|
|

I have freeBSD router and it host public IP address, I am using ipnat.rules to configure port forwarding prom public network inside my private network. Now I wondering can I restrict only specific public IP addresses to can pass trough my port forwarding. What I want is to only my specific public IP addresses can walk inside my network on specific ports. Here is how now look like my ipnat.rules file

rdr fxp0 217.199.XXX.XXX/32 port 7900-> 192.168.1.12 port 80 tcp

© Server Fault or respective owner

Related posts about freebsd

Related posts about nat