Masquerading with optional external ip

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

 



I currently have a working masquerade rule for my firewall :

 

iptables -t nat -A POSTROUTING -s 192.168.1.192/25 -o eth1 -j MASQUERADE

 

Any IP in the 192.168.1.192/25 range masquerades as the firewall’s external IP (a.b.c.d). I would like to specify that it runs on another ip (a.b.c.x), is this possible? If so how must I change my current rule?

 

Thanks,

Patrick Ahler

Systems Administrator

Vikus Corporation


[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