[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:network_services:tunnel_interfaces [2013/11/23 15:45 (UTC)] – [Tunnel Interfaces] ricky_cardohowtos:network_services:tunnel_interfaces [2020/06/25 13:41 (UTC)] (current) – [Results] ricky_cardo
Line 27: Line 27:
 # #
 ########################################################### ###########################################################
-# suggestions contact rich at lehcar.no-ip.org+# suggestions contact rich at lehcar.duckdns.org
 # with thanks to Billy T (for idea and assistance) # with thanks to Billy T (for idea and assistance)
 ########################################################### ###########################################################
Line 55: Line 55:
  
   * To substitute normal ssh rather than autossh substitute this line below for the one with autossh (line 20)<code bash>   * To substitute normal ssh rather than autossh substitute this line below for the one with autossh (line 20)<code bash>
-/usr/bin/sudo /usr/bin/ssh -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" -fw 0:0 $target /bin/true+/usr/bin/sudo /usr/bin/ssh -p $port -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" -fw 0:0 $target /bin/true
 </code> </code>
  
Line 66: Line 66:
 I'm not going to be able to elaborate on the iptables rules still a little green there, but they work. I'm not going to be able to elaborate on the iptables rules still a little green there, but they work.
  
 +**Here are a couple usage examples.**  
 +Directing traffic to the tunnel interface.  first example 10.10.132.0-255 second just 10.10.182.15 
 +<code bash>/sbin/route add -net 10.10.132.0 netmask 255.255.255.0 dev tun0
 +/sbin/route add -net 10.10.182.15 netmask 255.255.255.255 dev tun0</code>
 ====== Sources ====== ====== Sources ======
 <!-- If you are copying information from another source, then specify that source --> <!-- If you are copying information from another source, then specify that source -->
 howtos:network_services:tunnel_interfaces ()