0

I have bunch of hosts that can be accessed only from bastion hosts ( A linux server where I can ssh into and access my real host ).

Iam able to access it using firefox with socks proxy, now How can I do the same on command line ?

so all my comandline programs and protocols such as ping, SNMP, RMCP/IPMI all work seamlessly.

Thanks.

Victor
  • 71
  • 2
  • 8

2 Answers2

1

Your question seems to indicate that your bastion host is a SSH server and although the SSH protocol allows you to use SSH to tunnel other traffic it is far from ideal.

A much better solution would be to (additionally/instead) run a VPN server on the bastion host.

HBruijn
  • 77,029
  • 24
  • 135
  • 201
0

Check out something like Socksify.

There are also some other command line utilities that will proxy all connections to a socks proxy.

Andrew Schulman
  • 8,811
  • 21
  • 32
  • 47
Justin
  • 1