[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-admin
Subject: Problem with Port Forwarding using IPTables
From: Ramasubramanian <rams () nmsworks ! co ! in>
Date: 2002-05-23 7:30:08
[Download RAW message or body]
Hello,
I have specified rules to enable port forwarding . It works if the query
comes from systems in the same network. For queries coming from different
network it doesn't respond.
The following are my rules.
/sbin/iptables -A FORWARD -p udp -d 192.168.254.254 --dport 161 -j ACCEPT
/sbin/iptables -t nat -A PREROUTING -p tcp -d 192.168.9.6 --dport
161 -j DNAT --to-dest 192.168.254.254:161
Though I have mentioned the source to be anywhere, the port
forwarding is happening only for queries coming from 192.168.9.0 network.
I have another set of network 192.168.25.0 from where the queries are not
answered. The systems in this network ( 192.168.25.0 ) are able to ping
the host 192.168.9.6.
Any help is entertained.
Regards
Rams
--
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic