Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Getting openvpn working



 So I'm going away this weekend (unfortunately that means I won't be at 
the installfest).  When I travel, I'm kinda stuck with webmail, because 
I was never able to get authenticated smtp working.  So I figured I 
would try vpn. 

I'm following directions from here: 
http://blog.fourthirty.org/?p=135. 

Stats: 
server = Fedora 8 
client = Ubuntu 8.04.1 

I actually have them connecting, so all the keys are working.  But when 
I try pinging the server as the directions indicate, it just hangs. 
Note that I'm doing this test while I'm at home connected to my network, 
but I don't think that will make a difference.  I'm going to try it from 
work tomorrow.  Also note that I normally connect to my server through 
my intranet as 192.168.1.3, and for some reason the directions had me 
set up the vpn to 172.16.0.x.  I would like to get this working such 
that when I'm outside my network, I can access my server as 192.168.1.3, 
just like when I'm on the inside. 

root@lexa:~# route -n 
Kernel IP routing table 
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface 
172.16.0.5      0.0.0.0         255.255.255.255 UH    0      0        0 tun0 
172.16.0.1      172.16.0.5      255.255.255.255 UGH   0      0        0 tun0 
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0 
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0 
0.0.0.0         192.168.1.3     0.0.0.0         UG    0      0        0 eth0 
root@lexa:~# ping 172.16.0.5 
PING 172.16.0.5 (172.16.0.5) 56(84) bytes of data. 
^c 
--- 172.16.0.5 ping statistics --- 
6 packets transmitted, 0 received, 100% packet loss, time 5010ms 

root@lexa:~# ping 172.16.0.1 
^c 
PING 172.16.0.1 (172.16.0.1) 56(84) bytes of data. 
--- 172.16.0.1 ping statistics --- 
3654 packets transmitted, 0 received, 100% packet loss, time 3656157ms 


When I ping, I see this in my server logs repeatedly: 
Aug 19 23:51:58 janus kernel: Unknown OutputIN= OUT=tun0 SRC=172.16.0.1 
DST=172.16.0.6 LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=28010 PROTO=ICMP 
TYPE=0 CODE=0 ID=52260 SEQ=1 

No errors on the client side. 

Any clues? 
Thanks.  Oh, I'll also have it at the meeting, if we have network. 


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org