PDA

View Full Version : [ubuntu] redirect outgoing packets to LAN



outlaw45k
July 6th, 2011, 05:00 PM
is there any way to point certain packets from my outgoing traffic to a LAN : port ? o

can iptables do this ? if yes how ?
some like this
http://www.dslreports.com/forum/r22007218-Iptables-string-mathing-help-needed ?











hello anyone here ?

jmoorse
July 12th, 2011, 06:26 AM
That is a little vague, are you trying to redirect packets originating on your linux machine to a different location? eg: 192.168.1.1:80 redirect > 10.1.2.3:8080

http://www.cyberciti.biz/faq/linux-port-redirection-with-iptables/

Or are you trying to redirect traffic from other machines on your network...