[YLUG] Tunneling
Paul Gibbs
paul-listmonkey at pacem.plus.com
Wed Oct 10 12:10:16 BST 2007
Dr P Dupre wrote:
> Hello,
>
> I am trying to access to my linux PC on the campus from my home but I
> experience some difficulties.
> I configure the vpn pptp and I was connect to vpn.york.ac.uk
>
> success: Successful connected to server "vpn.york.ac.uk" user:
> "pd520 at york.ac.uk" at Wed Oct 10 10:27:35 2007 [PPTP]
> success: Connection established.
>
> But it is not enough I cannot tunnel:
> netstat -nr gives:
>
> Destination Gateway Genmask Flags MSS Window
> irtt Iface
> 172.26.2.1 0.0.0.0 255.255.255.255 UH 0 0
> 0 ppp0
> 82.3.204.0 0.0.0.0 255.255.252.0 U 0 0
> 0 eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0
> 0 eth0
> 0.0.0.0 82.3.204.1 0.0.0.0 UG 0 0
> 0 eth0
>
> If I do:
> route add -net 144.32.0.0 netmask 255.255.0.0 gw 172.26.2.1
> (My machine is in 144.32.52)
>
> It does not help either.
What is the IP address and mask of your PC on campus? I suspect it does
not begin with 144.32, if it did you wouldn't need a VPN to access it as
it would already have a global IP address. You don't need the 144.32 route.
It's more likely that machines on campus that do not require external
access will have a NATed IP address probably also beginning with 172.26.
Try adding a route 172.0.0.0 mask 255.0.0.0 through your VPN Gateway.
If you are accessing the machine by name you may also need to specify a
university DNS server as your primary DNS.
Paul.<><
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> York mailing list
> York at lists.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/york
>
More information about the York
mailing list