Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-05-2012, 06:11 AM   #1
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 264

Rep: Reputation: 5
cut internet when losing VPN


I use Opensuse 12.1 x64

Im trying to use a vpn effectively but whenever it cuts out my connection is still active(which I dont want)

Im trying to configure so that if I lose my vpn connection I also lose all access to the outside network.

Some of my ideas where as follows with no success:

1. Use a firewall to only allow external access through my vpn which is tun0. I cannot find that connection in my firewall settings and not sure if and how to set it up with iptables.

2. Bind my eth0 and tun0 connection with network manager. Im not sure if this is even possible.

Honestly, Im out of ideas.

How would you stop your internet connection if your VPN gets disconnected?


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
[SOLVED] How to cut the video without losing quality? Mr. Alex Linux - Software 1 10-23-2011 07:50 AM
Keep losing internet connection londy Linux - Networking 5 02-26-2009 11:10 PM
losing Internet connection atomicrm Linux - Networking 4 02-13-2009 01:42 PM
Losing internet connection jimcpl Linux - Wireless Networking 2 10-10-2007 08:06 AM
Power cut and internet robingazi Debian 2 08-25-2006 10:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:33 AM.

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