1
My goal is to give host behind firewall access to the internet. Below you can find brief description of network
[internet] <-> [proxy] <-> [A] <-> (firewall) <-> [B]
[A] - local linux host with access to network via [proxy] server
[B] - remote host behind firewall without access to internet
Host A can access B via ssh.
How can I achieve this using ssh reverse tunneling and iptables on hosts A and B ?