Andrew Parker wrote: >> >> I'm not sure what I can do with the connection. >> >> I don't seem able to ssh in either direction. >> >> And ping fails in both directions too. > your configs are very similar to mine, apart from a few cosmetic > differences. ditto for the routing tables. > > do you have a firewall at either end? have you enabled tun+ devices > access? I have the following in mine, but depending on your f/w you > might want to insert the rules at the beginning rather than append: > > /sbin/iptables --append INPUT --in-interface tun+ --jump ACCEPT > /sbin/iptables --append FORWARD --in-interface tun+ --jump ACCEPT > /sbin/iptables --append OUTPUT --out-interface tun+ --jump ACCEPT > /sbin/iptables --append FORWARD --out-interface tun+ --jump ACCEPT Thanks very much. I found the problem did indeed lie in the firewall. After adding the line loc tun0 192.168.5.0/24 to /etc/shorewall/interfaces on my server, and re-starting shorewall, I am able to ping and ssh in either direction: ========================================= [tim@alfred ~]$ ping -v -c2 192.168.5.6 PING 192.168.5.6 (192.168.5.6) 56(84) bytes of data. 64 bytes from 192.168.5.6: icmp_seq=1 ttl=64 time=124 ms 64 bytes from 192.168.5.6: icmp_seq=2 ttl=64 time=118 ms [tim@alfred ~]$ ssh 192.168.5.6 Last login: Thu Jan 3 12:23:55 2008 ========================================= [tim@martha ~]$ ping -v -c2 192.168.5.1 PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data. 64 bytes from 192.168.5.1: icmp_seq=1 ttl=64 time=215 ms 64 bytes from 192.168.5.1: icmp_seq=2 ttl=64 time=118 ms [tim@martha ~]$ ssh 192.168.5.1 Last login: Thu Jan 3 11:24:28 2008 from host156-198-dynamic.8-87-r.retail.telecomitalia.it ========================================= -- Timothy Murphy e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland