LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   postrouting all except one (https://www.linuxquestions.org/questions/linux-networking-3/postrouting-all-except-one-608578/)

yawe_frek 12-22-2007 12:12 PM

postrouting all except one
 
hi guys.

i was experimenting somethings, basically what i want to acheive is to make all look as if it is coimg from 192.168.12.6 except this 192.168.1.25

iptables -t nat -A POSTROUTING -o eth0 -s ! 192.168.1.25 -j SNAT --to-source 192.168.12.6

pls is there somthing wrong here.

jlliagre 12-22-2007 01:22 PM

Moved: This thread is more suitable in Linux-Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

win32sux 12-22-2007 11:13 PM

The rule looks fine to me. Is it not working or something?


All times are GMT -5. The time now is 09:26 AM.