LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   URGENT! What to type to get this with IPTABLES? (https://www.linuxquestions.org/questions/linux-newbie-8/urgent-what-to-type-to-get-this-with-iptables-115336/)

chtthies 11-12-2003 04:01 PM

URGENT! What to type to get this with IPTABLES?
 
I need toduplicate this entry in another machine, but don't know how to

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
SNAT all -- 10.0.0.0/8 anywhere to:200.69.208.109

Thanks!

acid_kewpie 11-12-2003 04:23 PM

please do not mark any thread as urgent, and certainly not in caps. it may be urgent for you, but it is not urgent for us, thanks.

gomix100 11-12-2003 04:34 PM

Mi first post... maybe i'm doing it wrong....

I did it wrong... the next one got the answer...

gomix100 11-12-2003 04:35 PM

Hi

i think you need is:

iptables -t nat -P POSROUTING -j ACCEPT
iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -j SNAT --to-source 200.69.208.109

let me know if that work for u.
can u please include the output of iptables -L -n -v ?

Guillermo


All times are GMT -5. The time now is 10:37 PM.