Sparda Posted September 14, 2006 Share Posted September 14, 2006 ok, so I setup a OpenVPN server (sucsesfuly) clients can connect, however, having followed the section about router all trafic (including web traffic) and implimenting it, any connected client can nolonger access the Internet at all. This is the IP configuration the clients get: IP Address: 10.8.0.6 Subnet: 255.255.255.252 Default Gateway 10.8.0.5 DNS Server: 10.8.0.1 I'm not sure where to begin with fixing this problem. The subnet set in the configuration file is 255.255.255.0, but I'm not sure if thats the problem. The default gateway of the clients also appears to be wrong, I would have expected that to be 10.8.0.1. Any one have any ideas? The following is all active server configuration options: port 1194 proto udp dev tun ca /etc/openvpn/keys/ca.crt cert /etc/openvpn/keys/server.crt key /etc/openvpn/keys/server.key dh /etc/openvpn/keys/dh1024.pem server 10.8.0.0 255.255.255.0 ifconfig-pool-persist ipp.txt keepalive 10 120 comp-lzo user nobody group nobody persist-key persist-tun status openvpn-status.log verb 3 push "redirect-gateway def1" push "dhcp-option DNS 10.8.0.1" Quote Link to comment Share on other sites More sharing options...
Sparda Posted September 15, 2006 Author Share Posted September 15, 2006 *bump* So no one knows why this is happening or no one knows any thing about OpenVPN? :/ Quote Link to comment Share on other sites More sharing options...
G-Stress Posted June 7, 2007 Share Posted June 7, 2007 Hey Sparda, did you ever figure this out? Looks like you followed the same tutorial as me. It's been a minute since I've messed with it, but your config file you posted is that the config file for the server and clients? Or just one of the 2? Quote Link to comment Share on other sites More sharing options...
Sparda Posted June 7, 2007 Author Share Posted June 7, 2007 I never did get it working properly, I suspect it had some thing to do with default IPTables of the Linux distribution I was using on the server (SuSE 10.1). Some time (probably next week). Quote Link to comment Share on other sites More sharing options...
deleted Posted June 7, 2007 Share Posted June 7, 2007 I am going to ask this, Who here actaully tried to connect to that IP Address? The thought was there for second but then decided not too and notice that it was internal. Quote Link to comment Share on other sites More sharing options...
Guest requiemnoise Posted June 7, 2007 Share Posted June 7, 2007 yo! apt-get,,,, go here... http://ubuntuforums.org/forumdisplay.php?f=7 people here are really technical about this stuff. Quote Link to comment Share on other sites More sharing options...
G-Stress Posted June 7, 2007 Share Posted June 7, 2007 @ Sparda... I forgot your basically strictly Ubuntu:) I was trying to get it working on w2k3 and XP. I haven't messed with it for awhile, but I may give it a go this weekend. @ requiemnoise, nice find on the forums. Looks like alot of useful info. Thanks:) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.