The Masquerade Simple Howto contains the following line:
$> iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 123.12.23.43
Two questions:
#1: The my version of iptables 1.2.11 doesn't like --to. What name
should I use instead?
#2: How do I determine exactly what address is used after this option?
I am on a DHCPCD connection. Is it the address of the remote machine or
the address assigned to me by the remote machine? Or should I just use
the word MASQUERADE as in a dial-up connection?
I had my masquerade working once but now it doesn't work any more.
My ISP is Adelphia, if that helps.
John Culleton
|