[prev in list] [next in list] [prev in thread] [next in thread]
List: openvz-users
Subject: [Users] Re: VE using wrong IP for outgoing connections
From: jan () tomasek ! cz (Jan Tomasek)
Date: 2006-12-04 18:03:28
Message-ID: 4574A93D.6040503 () tomasek ! cz
[Download RAW message or body]
Jan Tomasek wrote:
> I just realized that my VEs are is using IP address of HW node for
> connections initiated from inside of VE, except of their own. For example:
My fault! I just realized it was because:
modprobe ipt_MASQUERADE
iptables -F; iptables -t nat -F; iptables -t mangle -F
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
I added those directives to my FW startup script because of VE which is
using private IP range - it is supposed to have access to network but
should not be reachable on public IP (to save IP) because it provide no
services.
Sorry for meaningless mail on the list.
--
-----------------------
Jan Tomasek aka Semik
http://www.tomasek.cz/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://openvz.org/pipermail/users/attachments/20061205/966fe086/signature.bin
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic