Results 1 to 4 of 4
Thread: Nat on vmware esxi 4
-
03-20-2010, 02:38 PM #1WHT Addict
- Join Date
- Nov 2009
- Posts
- 148
Nat on vmware esxi 4
My datacenter (hetzner) do not support bridged network.
They only support nat, how can run vps on esxi4 with nat?
-
03-20-2010, 04:48 PM #2Web Hosting Master
- Join Date
- Jun 2006
- Location
- Europe
- Posts
- 632
possible way is to setup local IPs 192.168.1.0/24 on your guests machines ("host-only" interface) and then route traffic for public IPs and local IPs via iptables (SNAT/DNAT) on your host node.
Last edited by xtrac568; 03-20-2010 at 04:51 PM.
-
03-22-2010, 08:32 AM #3WHT Addict
- Join Date
- Nov 2009
- Posts
- 148
-
03-22-2010, 09:41 AM #4Web Hosting Master
- Join Date
- Jun 2006
- Location
- Europe
- Posts
- 632
1. If by valid you mean public ip directly on guest, i think thats not possible at hetzner, since IPs are probably locked per MAC address, therefore they say that vmware bridge won't work because vmware bridge interface would introduce another MAC address to the network.
2. make sure ip_forward is enabled at /etc/sysctl.conf
iptables -t nat -I PREROUTING -d public-ip -j DNAT --to local-ip
iptables -t nat -I POSTROUTING -s local-ip -j SNAT --to public-ip
where local-ip is IP of the guest, e.g. 192.168.1.10
and public-ip is IP you've got from hetzner e.g. 94.125.44.10.
Similar Threads
-
VMware Workstation Vs. VMware ESXi
By troboy in forum VPS HostingReplies: 3Last Post: 03-17-2010, 11:59 AM -
Help VMware ESXi 4
By mixmox in forum Hosting Security and TechnologyReplies: 0Last Post: 02-12-2010, 01:29 PM -
VmWare esxi 3.x
By daninmanchester in forum VPS HostingReplies: 6Last Post: 12-28-2009, 11:26 AM -
some question about vmware ESXI !
By VirtVPS in forum Hosting Software and Control PanelsReplies: 27Last Post: 10-19-2009, 01:31 PM -
Vmware esxi help
By Hostwaresupport in forum Hosting Security and TechnologyReplies: 2Last Post: 09-30-2009, 12:05 AM