NAT network and port forwarding

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Pf34jj
Posts: 4
Joined: 28. Dec 2013, 12:04

NAT network and port forwarding

Post by Pf34jj »

Hi,

I've been reading and searching to find whether what I want is possible but I can't really find an answer.

Can I configure a NAT network to forward guest traffic to a SOCKS proxy running on the host?

Long story. I've setup an SSH with dynamic tunnel on port 8080. In a browser on the host I can configure a SOCKS proxy on 127.0.0.1 port 8080 and it works fine.

In Virtualbox I configure a NAT network with subnet range 192.169.1.0 and forward TCP/UDP 53 for DNS, 80 and 443 for internet traffic to 127.0.0.1 port 8080.

It's not working as I expected. I'm not even getting an ip address in 192-range. Am I doing something wrong or it this simply not possible?

The reason I want to do this is because my host is behind a proxy that I can't use from within the virtual machine. I was hoping this would be a way around it.

Thanks.
Post Reply