Slackware 13.1 - IPIP Tunnel ============================ Public domain ******************************************************************************** ### Tunnel (iptunnel) modprobe ipip iptunnel add tunl1 mode ipip remote 83.170.42.120 local 20.80.91.2 ifconfig tunl1 10.100.100.1/30 pointopoint 10.100.100.2 route add -host 192.168.205.1 gw 10.100.100.2 ******************************************************************************** ### Tunnel (ip) modprobe ipip ip tu ad ipiptun mode ipip local 172.30.69.1 remote 172.30.69.2 ttl 64 dev eth1 ip ad ad dev ipiptun 10.254.254.1 peer 10.254.254.2/32 ip li se dev ipiptun up ******************************************************************************** ### Policy routing ip route add default via 10.100.100.2 table 5 ip rule add from 172.17.0.0/24 table 5 ******************************************************************************** _BY: Pejman Moghadam_ _TAG: tun, ipip, policy-route_ _DATE: 2012-03-17 11:31:58_