Hi,
I am fairly new to OpenBSD and I am struggling to be able to connect to
my university's network. I need to establish a VPN connection using the
PPTP protocol. I installed the pptp package, rebuilt my kernel without
gre support (as indicated in the pptp man page), and wrote a
configuration file for ppp that appears to be working. I can connect to
the VPN and I see a new tun0 interface coming up with ifconfig. However,
it seems like no traffic is going through that route.
What I want is really simple, I just want all internet traffic to go
through the VPN (so that my computer appears to belong to the internal
network of the university when I visit sites such as MathSciNet). I
tried to do a
route change default vpn.cc.umontreal.ca
but it didn't work at all (it closed all connections...). I must admit
that I am fairly mixed up with all this routing thing.
My computer is connected to internet through a router whose internal
address is 192.168.1.1.
Here is some interesting stuff after the vpn as been brought up:
ifconfig tun0
tun0: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1500
groups: tun
inet 132.204.232.32 --> 132.204.2.20 netmask 0xffffffff
route show
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Interface
default 192.168.1.1 UGS 2 468 - fxp0
10.5.9/24 vpn.CC.UMontreal.C UGS 0 0 1500 tun0
loopback localhost UGRS 0 0 33224 lo0
localhost localhost UH 2 8 33224 lo0
vpn.CC.UMontreal.C vpn232-32.CC.UMont UH 1 0 1500 tun0
192.168.1/24 link#1 UC 1 0 - fxp0
192.168.1.1 00:10:a7:26:fb:e5 UHLc 1 46 - fxp0
192.168.1.5 localhost UGHS 0 0 33224 lo0
BASE-ADDRESS.MCAST localhost URS 0 0 33224 lo0
Any help would be really appreciated,
Thanks,
Looc