|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] Re: domU and NAT
Jan Kalcic wrote:
> Hi All,
>
> I managed to configure NAT on dom0 but this does not work properly.
> Outgoing traffic from domU is seen with the original domU ip address
> instead of the dom0 ip address and the requests can't get back to the domU.
>
> ip_forward is enable (1)
>
> Any hints?
>
> Thanks,
> Jan
>
>
I figured out MASQUERADING was not set.
The following rule needs to be set:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Thanks,
Jan
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|