Hi Friends
iam using vmWs 6.0.5 my host is xpsp2 and guest is RHEL5 running my mail server with two Ethernets one is NAT based and one is Bridged based i have configured this RHEL5 Server as an router too.
Problem is i want to port forward my whole inernet traffic(HTTPSMTPIMAP) to this guest so that my mail clients can access it via internet .This guest have fully working internet.
My host ip is 192.168.1.2 guest eth0 ip is 192.168.129.128 and eth1 ip is 192.168.1.3 i have put <<this as an gateway of my host machine i can cummunicate with all subnets inside my guest machine.
I can browse my mail and web server from host via this ip 192.168.129.128 i have forwarded all needy ports to this ip as my host can access it but still
i cant see my Vm from internet if i type http://122.136.137.1:8080 it shold show me my web server.
My DSL is dynamic ip based its working on PPPOE mode.All firewall are off on guest and host as it is in testing mode but still cant browse it
Thanks
If you try to access the guest via the NAT interface this will not work until you tell VMware to redirect the ports to the guest. By using NAT you hide theguest from the outside world. If it sends a packet it seems to come from the host (thats what a NAT device is doing). If you actively open a connection FROM the guest to the outside VMware can track which returning packet has to be rerouted to the guest.
But if you try to connect from the outside to the guest that won't work because the host don't know if this packet should go to itsel or the guest (remember: to access a guest over the NAT interface you must use the host IP address!!! Look at the IP addresses in the NAT network (VMnet8), these ar 192.0.0 addresses which are not routed over the Internet).
So when you configure VMware NAT to redirect port 8080 to the guest, you can reach this by using http://If you found this information useful, please consider awarding points for "Correct" or "Helpful" answers/replies. Thanks!!
"So when you configure VMware NAT to redirect port 8080 to the guest, you can reach this by using <host IP>:8080."
i did this already but the problem is i can access my web server from host http://192.168.1.2 but not from internet even i have port forwaded to this ip
"So when you configure VMware NAT to redirect port 8080 to the guest, you can reach this by using <host IP>:8080."
Yes.
i did this already but the problem is i can access my web server from host http://192.168.1.2
You can access it from the host, because the host can use its VMnet8 adapter (so it is a member of the 192.168.2.0 IP subnet). This communication doesn't cross the NAT.
but not from internet even i have port forwaded to this ip
You should check your configuration:
- Listen address of the Webserver
- NAT Port rerouting configuration (make some screenshots and post them)
- IP setup of guest and host ("ipconfig /all" or "ifconfig -a", post them)
- Firewall on the host (does it allow 8080?)
To mention some things...
If you found this information useful, please consider awarding points for "Correct" or "Helpful" answers/replies. Thanks!!
