[YLUG] vpn and ssh
Patrick Dupre
pd520 at york.ac.uk
Sun Jan 17 13:16:21 UTC 2010
Hello Roger,
> On Sun, Jan 17, 2010 at 11:12:19AM +0000, Patrick Dupre wrote:
>> I though that I solved this problem but it shown up again.
>>
>> When I connect to my campus machine through ssh.york.ac.uk I can
>> make a ssh back to my home machine (eschyle.homedns.org). But if
>> I connect to my campus machine through the vpn server I cannot make
>> the same connexion back (timeout)
>
> What's the output of 'ip route list' on your home machine when the
> VPN is disabled and enabled?
no vpn:
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.101
metric 1
default via 192.168.0.1 dev eth0 proto static
vpn:
144.32.196.175 via 192.168.0.1 dev eth0 src 192.168.0.101
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.101
metric 1
144.32.0.0/16 dev ppp0 proto static scope link
172.16.0.0/12 dev ppp0 proto static scope link
default via 192.168.0.1 dev eth0 proto static
Are you setting a default route over
> the VPN or manually setting up routing?
If I understand the question, I automatic (VPN addresses only) set the
route.
the routes are:
144.32.0.0 (255.255.0.0)
172.16.0.0 (254.240.0.0)
>
> Does running
> ip route add 144.32.0.0/16 dev ppp0
> help?
It is already in the list !
Regards.
> (where ppp0 is your VPN network interface, yours may differ;
> 'ip link list' will tell you). There may be a more exact
> definition for the university's netblock, but this works for
> my purposes.
>
>
> Regards,
> Roger
>
>
--
---
==========================================================================
Patrick DUPRÉ | |
Department of Chemistry | | Phone: (44)-(0)-1904-434384
The University of York | | Fax: (44)-(0)-1904-432516
Heslington | |
York YO10 5DD United Kingdom | | email: pd520 at york.ac.uk
==========================================================================
More information about the York
mailing list