Suse 9.1 port forwarding woes
Argh, I copied and pasted the wrong stuff over.
Correct:
ace:~ # iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ACCEPT tcp -- anywhere anywhere tcp dpt:smtp ACCEPT tcp -- anywhere anywhere tcp dpt:imap
Chain FORWARD (policy ACCEPT)
target prot opt source destination ACCEPT all -- anywhere anywhere state ESTABLISHED ACCEPT icmp -- anywhere anywhere state RELATED ACCEPT all -- anywhere anywhere state NEW,ESTABLISHED ACCEPT all -- anywhere anywhere state NEW,ESTABLISHED ACCEPT tcp -- anywhere 192.168.0.3 tcp dpt:http
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ace:~ # iptables -t nat --list
Chain PREROUTING (policy ACCEPT)
target prot opt source destination DNAT tcp -- anywhere anywhere tcp dpt:http to:192.168.0.3:80
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Quoted 5 lines · Nathan March
Argh, I copied and pasted the wrong stuff over.
Correct:
ace:~ # iptables --list
i shoulda mentioned this in my last post--can you post the output of "iptables -vnxL && iptables -t nat -vnxL" instead of just "iptables --list" as we cannot see interface names or other information that may be releavent.
also--is this firewall machine the default gateway for 192.168.0.3?
-j
--
"Do you want to change your name to Homer Junior? The kids can call
you Hoju!"
--The Simpsons