need help on hosting a server using NAT (network)

Discussions related to using VirtualBox on Windows hosts.
Post Reply
junqi
Posts: 9
Joined: 2. Feb 2013, 15:04

need help on hosting a server using NAT (network)

Post by junqi »

how can i enable Nat (network) to host a server on virtual box and join domain on virtual box using the NAT (network). i was unable communicate within each other. When i set ip for server IP:192.168.0.16, default: 192.168.0.1, subnet: 255.255.255.0 DNS:192.168.0.16, client ip:192.168.0.17, subnet:255.255.255.0, default: 192.168.0.1 DNS: 192.168.0.16. but when i try ping it say host unreachable. can anyone advise me how to get this pass through using NAT?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: need help on hosting a server using NAT (network)

Post by Perryg »

NAT is a one way networking protocol and not really what you need for domains, use bridged.
Or better yet, the easiest and for most the best way to use and test Windows domains in VirtualBox
Setup Windows Domain in VirtualBox
junqi
Posts: 9
Joined: 2. Feb 2013, 15:04

Re: need help on hosting a server using NAT (network)

Post by junqi »

Perryg wrote:NAT is a one way networking protocol and not really what you need for domains, use bridged.
Or better yet, the easiest and for most the best way to use and test Windows domains in VirtualBox
Setup Windows Domain in VirtualBox
I able to configured using nat. but when i was trying to remote in my vm server using my own pc i was unable. but when i change it to bridge i was able to remote. is there any way that i can use nat and remote desktop in ?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: need help on hosting a server using NAT (network)

Post by Perryg »

Sure. See NAT with port forwarding in your VirtualBox users manual.
junqi
Posts: 9
Joined: 2. Feb 2013, 15:04

Re: need help on hosting a server using NAT (network)

Post by junqi »

Perryg wrote:Sure. See NAT with port forwarding in your VirtualBox users manual.
i have already check they say port forward guest and host to 3390 and 3391 i do that but still unable can anyone advise more on it ?
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: need help on hosting a server using NAT (network)

Post by noteirak »

Could you attach a screenshot of your NAT forwarding in Virtualbox?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
junqi
Posts: 9
Joined: 2. Feb 2013, 15:04

Re: need help on hosting a server using NAT (network)

Post by junqi »

noteirak wrote:Could you attach a screenshot of your NAT forwarding in Virtualbox?
i just deleted away. is it possible to teach me how to do so that my pc can remote into virtual box server using NAT settings.
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: need help on hosting a server using NAT (network)

Post by noteirak »

You should really read the user manual section about NAT configuration first
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
junqi
Posts: 9
Joined: 2. Feb 2013, 15:04

Re: need help on hosting a server using NAT (network)

Post by junqi »

noteirak wrote:You should really read the user manual section about NAT configuration first
i have read alr but not really understand how do it ? can guide me along if possible.
Post Reply