RE: Firewall IP change

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

 



> IP on your firewall, then you need to SNAT outbound packets (which will 
> automatically DNAT reply packets for you too):

> iptables -A POSTROUTING -t nat -o eth2 -j DNAT --to 62.160.X.Y
                                            ^
Antony-

I know you say SNAT in the explanation, but a rogue D made it into the example rule...  stupid S & D right next to each other...
  
  iptables -A POSTROUTING -t nat -o eth2 -j SNAT --to 62.160.X.Y

-j



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux