Re: Openvpn Fedora tutorial?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux