Blaisorblade <[EMAIL PROTECTED]> writes:

> And the solution is not to add a route back (which obviously wouldn't scale, 
> and wouldn't work when pinging outside hosts), but to use Source NAT / 
> masquerading (-j SNAT / -j MASQUERADE). The same way you'd have to do if 
> sharing a dialup / home connection with only 1 public IP among various hosts, 
> so you can look at the tons of HOWTOs and explaination about the issue if you 
> need.

Thank you for your detailed explanation!  I found the following
command on my host was all it was necessary:

# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
-- 
Benjamin


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to