LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2022, 05:29 PM   #16
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050

Long ago I helped deploy a VPN network for a large company where I worked. They had many servers and needed multiple sites to have access to all of those servers. It was a company that made software to manage car dealerships all over the US, Canada and Mexico. Since then I still configure my VPN connection like so:

> add firewall rules on your client machine that allow you access to JUST the dns and VPN network.
> add more rules on your vpn host (if you have root access), to block all network access besides VPN traffic originating from your IP or home network.
> Configure openvpn to push the correct IP routes and name servers to the client machines.
> Finally, run your own DNS and DHCP on your vpn server so that you do not have to mess around with static addressing.

In this way I've found that it is really simple to reconnect manually or automatically. Additionally, you will know immediately if your network has gone down. The firewall will block everything else whether the VPN is connected or is not connected- eliminating DNS leaks. Also, if you are going through all the trouble to run a vpn, or pay for one, you might as well have private DNS services too.
 
  


Reply



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
best way to go about routing traffic through VPN on another machine vikingGoalie Linux - Networking 5 03-30-2018 10:55 AM
Best way to start learning PHP, and therefore Apache and MySQL anon091 Linux - Newbie 10 10-28-2013 10:45 AM
best way for linux to connect to ipsec VPN? saiyen2002 Linux - Networking 2 08-19-2011 04:45 AM
VPN - is there a way to use VPN & normal connection at the same time? natv Linux - Networking 4 09-05-2007 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:31 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration