iptables syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I need a little help with the syntax of iptables

I have a box "x" with the 2 ip addresses in 2 different subnets
xxx.xxx.xxx.xxx (subnet x) yyy.yyy.yyy.yyy (subnet y). I have another box
"a" again with 2 ip addresses and again 1 in each subnet aaa.aaa.aaa.aaa
(subnet x) bbb.bbb.bbb.bbb (subnet y).

I want to "mangle" IP on box "x" so that anything tcp or udp destined for
box "a" aaa.aaa.aaa.aaa is rerouted to the other ip address
bbb.bbb.bbb.bbb


Can someone send me the syntax.

Thanks

-- 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux