hi,

host macosx-10.6.6, virtualbox-3.2.12 r68302, guest debian-5.0

i used the following comands to set up port forwarding to a
virtual host that uses NAT:

  $ VBoxManage modifyvm laptop --natpf1 ssh,tcp,127.0.0.1,2022,,22
  $ VBoxManage modifyvm laptop --natpf1 http,tcp,127.0.0.1,80,,80
  $ VBoxManage modifyvm laptop --natpf1 https,tcp,127.0.0.1,443,,443

and it looks like all three rules were created:

  $ VBoxManage showvminfo laptop
  ...
  NIC 1:           MAC: 080027552074, Attachment: NAT, Cable connected: on, 
Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0
  NIC 1 Settings:  MTU: 0, Socket( send: 64, receive: 64), TCP Window( send:64, 
receive: 64)
  NIC 1 Rule(0):   name = http, protocol = tcp, host ip = 127.0.0.1, host port 
= 80, guest ip = , guest port = 80
  NIC 1 Rule(1):   name = https, protocol = tcp, host ip = 127.0.0.1, host port 
= 443, guest ip = , guest port = 443
  NIC 1 Rule(2):   name = ssh, protocol = tcp, host ip = 127.0.0.1, host port = 
2022, guest ip = , guest port = 22
  ...

however, only the ssh rule is working:

  $ nmap -sT 127.0.0.1
  Starting Nmap 5.21 ( http://nmap.org ) at 2011-02-02 10:30 EST
  Nmap scan report for localhost (127.0.0.1)
  Host is up (0.000057s latency).
  Not shown: 989 closed ports
  PORT      STATE SERVICE
  22/tcp    open  ssh
  111/tcp   open  rpcbind
  631/tcp   open  ipp
  1021/tcp  open  unknown
  1022/tcp  open  unknown
  1023/tcp  open  netvenuechat
  2022/tcp  open  down
  2049/tcp  open  nfs
  5432/tcp  open  postgresql
  49152/tcp open  unknown
  54045/tcp open  unknown

  Nmap done: 1 IP address (1 host up) scanned in 7.74 seconds

can anyone tell me what i've done wrong?

cheers,
raf


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community

Reply via email to