LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Openvpn problem (https://www.linuxquestions.org/questions/linux-networking-3/openvpn-problem-422147/)

kingisthebest 03-06-2006 09:18 AM

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

skyfly 03-07-2006 05:23 AM

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.


All times are GMT -5. The time now is 03:51 PM.