forward outbound traffic rule
Posted
by Claudiu
on Server Fault
See other posts from Server Fault
or by Claudiu
Published on 2010-05-22T16:28:21Z
Indexed on
2010/05/22
16:32 UTC
Read the original article
Hit count: 221
I am trying to forward the outbound traffic to another server. Current rule is:
/sbin/iptables -A OUTPUT -p tcp -s localhost -o 91.xxx.xxx.xxx --dport 65000:65010 -j ACCEPT
but when I do a iptables -L, the rule its showed like this:
ACCEPT tcp -- localhost.localdomain anywhere tcp dpts:65000:65010
So I guess my rule is bad written since the "destination" column shows "anywhere"
Can you help me with this?
© Server Fault or respective owner