[YLUG] Tunneling
B Thompson
bt4 at york.ac.uk
Wed Oct 10 14:16:09 BST 2007
On Wed, Oct 10, 2007 at 11:28:57AM +0100, 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)
How about :-
route add 144.32.196.175 gw 82.3.204.0
route add -net 144.32.0.0 netmask 255.255.0.0 ppp0
This assumes that your ISP assigned IP address is 82.3.204.0.
--
Ben Thompson
University of York
More information about the York
mailing list