iptables on DLink DSL-502T Modem/Router
Paul Goodyear
pgudge at gmail.com
Tue Nov 8 02:47:00 CET 2005
Hi all,
Does iptables version v1.2.6a support forwarding from a source IP?
The reason I ask, is I have a DLink DSL-502T modem router, the router
has linux on and running iptables.
The webadmin for the router does not allow you to create ip filters,
port forwarding is there but not filtering.
I want to allow access to port 3389 from only 1 internet IP address.
Should this work? (81.81.81.81 being an example)
iptables -A INPUT -s 81.81.81.81 -d 192.168.1.2 -p tcp --dport 3389 -j ACCEPT
The router does no allow me to connect in once this rule is in iptables.
Thanks.
Paul.
More information about the netfilter
mailing list