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?
Multiple subnets with proxy
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: Multiple subnets with proxy
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.
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.
Bill