Page 1 of 1

Multiple subnets with proxy

Posted: 8. May 2015, 17:25
by kuree
Ok, here is the scenario:

I have three machines A, B and a proxy. All 3 are ubuntu.

There are two networks. 192.168.1.0 and 192.168.2.0, both of which were created as host only networks.. A sits on the .1 network. B sits on the .2 network, and the proxy has NIC cards for both of them. P can ping both A and B. A and B can both ping P. Neither A, nor B can ping one another.

The ultimate goal is to be able to nmap B using A through the proxy.

I plan to do this through proxychains, and ssh.

So, I ssh from A to P:
ssh -D 1080 root@192.168.1.101

and make sure that proxychains is configured correctly. At the end of the proxychains.conf file I have the line:
socks4 127.0.0.1 1080.

No luck. Is there anything I need to set up in the ubuntu proxy machine in order to make this work?

Re: Multiple subnets with proxy

Posted: 9. May 2015, 09:45
by BillG
That really does not have much to do with VirtualBox - it is a pretty basic Ubuntu networking problem.

I would not try to do that with host only adapters. I would try using internal virtual networks for the virtual subnets. That is the only thing about the question which is VirtualBox related.