LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-06-2006, 09:18 AM   #1
kingisthebest
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Rep: Reputation: 0
Question Openvpn problem


Hello!

I have a problem with openvpn. I'm starting the openvpn service it's adding a new route and the access to the internet is down, only the vpn works.
"route -n" before starting the openvpn service
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 bridge
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 tap0
19x.7.0.0 0.0.0.0 255.255.240.0 U 0 0 0 eth0
0.0.0.0 19x.7.0.1 0.0.0.0 UG 0 0 0 eth0



"route -n" after starting the openvpn service
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 192.168.1.3 255.255.255.0 UG 0 0 0 bridge
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 bridge
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 tap0
19x.7.0.0 0.0.0.0 255.255.240.0 U 0 0 0 eth0
0.0.0.0 19x.7.0.1 0.0.0.0 UG 0 0 0 eth0
 
Old 03-07-2006, 05:23 AM   #2
skyfly
LQ Newbie
 
Registered: Apr 2004
Location: Johannesburg, South Africa
Distribution: Redhat Fedora Slackware
Posts: 7

Rep: Reputation: 0
Do you have an external gateway with it's own IP to the internet such as a router? If so, make sure your default gateway in your external eth interface has been set up accordingly, i.e. check your /etc/sysconfig/network-scripts/ifcfg-eth0 file for the GATEWAY entry (if eth0 is your external network interface). If you are using GUI, use the neat command to set it. If you have a modem or similar connection, check the ifcfg-ppp0 file in the same directory to make sure the DEFROUTE entry is set to yes.

Last edited by skyfly; 03-07-2006 at 05:26 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 02:20 AM
OpenVPN tunnel problem skyfly Linux - Networking 1 04-11-2006 11:56 PM
Problem with OpenVPN eantoranz Linux - Networking 8 10-10-2005 04:49 PM
OpenVPN config problem linuxpyro Linux - Networking 7 10-07-2005 07:12 PM
OpenVPN Routing problem groetschel Linux - Networking 4 04-28-2004 04:07 AM


All times are GMT -5. The time now is 12:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration