Quantcast
Viewing all articles
Browse latest Browse all 41042

VMWare Server NAT Configuration

Hi,

 

I have got a vmware server setup on my Red Hat server but am having problems with my NAT configuration. the configuration was working fine before I restarted vmware but since it has stopped working. The local IP of my main server is 192.168.1.1 and my nat.conf file looks like this:

 

 

  1. Linux NAT configuration file

  1. NAT gateway address

ip = 192.168.1.1

netmask = 255.255.255.0

  1. or ip = 192.168.1.2/24

 

  1. enable configuration; disabled by default for security reasons

#configport = 33445

 

  1. VMnet device if not specified on command line

device = /dev/vmnet2

 

  1. Allow PORT/EPRT FTP commands (they need incoming TCP stream...)

activeFTP = 1

 

  1. Allows the source to have any OUI.  Turn this one if you change the OUI

  2. in the MAC address of your virtual machines.

allowAnyOUI = 1

 

  1. Timeout in seconds, 0 = no timeout, default = 60; real value might

  2. be up to 100% longer

timeout = 60

 

  1. Use these with care - anyone can enter into your VM through these...

 

  1. FTP (both active and passive FTP is always enabled)

  2.      ftp localhost 8887

#8887 = 192.168.1.128:21

 

  1. WEB (make sure that if you are using named webhosting, names point to

  2.     your host, not to guest... And if you are forwarding port other

  3.     than 80 make sure that your server copes with mismatched port

  4.     number in Host: header)

  5.      lynx http://localhost:8888

#8888 = 192.168.1.128:80

 

  1. SSH

  2.      ssh -p 8889 root@localhost

#8889 = 192.168.1.128:22

 

  1. WIGGUM (Webservices)

22223 = 192.168.1.20:2222

4431  = 192.168.1.20:4431

8001  = 192.168.1.20:8001

8002  = 192.168.1.20:8002

4432  = 192.168.1.20:4432

 

Can anyone see anything that is wrong with this config that might prevent the VM from getting out?

 

Cheers

 

James


Viewing all articles
Browse latest Browse all 41042

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>