i only have access to dynamic ips
will it work with openvz?
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users
mattias пишет:
i only have access to dynamic ips
will it work with openvz?
I think a right solution will be assign a internal ip for VPS (something
like 10.10.10.1)
Then you could setup firewall forwarding on you HN.
iptables -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination
How to use veth instead for venet
-Ursprungligt meddelande-
Från: users-boun...@openvz.org [mailto:users-boun...@openvz.org] För
Alexander Prinsier
Skickat: den 25 januari 2009 15:43
Till: users@openvz.org
Ämne: Re: [Users] ip address
mattias wrote:
i only have access to dynamic ips
You have to setup your network inside the virtual machine.
Check your network config.
In debian, you should check /etc/network/interfaces
If you choosed veth, you have to setup the network yourself.
The same way, as you do with a normal linux.
Cheers,
István
2009. 01. 25, vasárnap keltezéssel
Hi Matthias,
setup containers network
$ man vzctl
section Network related parameters
venet(work) :
$ vzctl set ctid --ipadd IPv4|IPv6 ... \
[--nameserver nameserver] ...\
--save
veth(ernet):
$ vzctl set ctid --netif_add eth0 ... \
[--nameserver nameserver] ...