Virtualbox: Using firewall in ubuntu guest -



Virtualbox: Using firewall in ubuntu guest -

i have windows 7 pro host ubuntu server 12.10 guest. host has static ip. networking mode nat port forwarding host port 22 invitee port 22. don't want utilize use bridged networking because of company policies.

i need ssh (port: 22) invitee net , want limit inbound connections invitee port 22 ip addresses. enabled ufw in invitee , added rules it. when seek ssh invitee 1 of allowed ip addresses, it's not connecting. if disable ufw, works.

what wrong? don't know much nat , invitee firewalls.

thanks in advance response.

this normal, because invitee vm (ubuntu) receive connection nat gateway ip (ie host (win7) address) , not client connecting ssh.

to solve issue , need remove ufw rules , set same rules in host windows firewall.

virtualbox firewall nat

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -