AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Ssh tunnel linux3/1/2023 (NOTE: You must be root on BOTH the local system and the remote system in order to create the “tun0” virtual network devices and connect them via SSH’s tunneling protocol.) On the local server:sudo ifconfig tun0 192.168.1.101 netmask 255.255.255.0 On the local server, issue the following command:sudo ssh -f -w 0:0 true For protocols such as DHCP, or for bridging remote networks together, a Layer-2 SSH VPN tunnel can be used.Įstablishing a layer-3 SSH VPN using “tun” devices: It’s actually possible to do ICMP pings, DNS lookups, NTP time syncing, and TFTP file transfers over a Layer-3 SSH VPN tunnel. SSH can do much more than the TCP port-forwarding examples shown above. Tunneling non-TCP protocols with Layer-2 and Layer-3 VPN tunnels: (Some network appliances terminate TCP sessions which sit idle for a few minutes.)
0 Comments
Read More
Leave a Reply. |