Jump to content
Not connected, Your IP: 3.235.66.217
utu

Automated connection w/ network lock on Linux (Command line only)

Recommended Posts

Hello,

  I've seen a few forum posts on this topic, but nothing that provides consistent direction.

 

Setting up an Ubuntu server that's command line only (no GUI.)  There seem to be a few options here to:

 

1. Connect the VPN on boot.

2. Lock traffic if the VPN drops.

 

 

You could use Eddie via CLI and set it up to run on boot.

You could call a generated openvpn config directly on boot and add appropriate iptables rules.

 

 

Is one method preferred over the other from a security perspective?

 

Does anyone have a good list of iptables rules I could combine with auto-launching openvpn if Eddie is not used? I could copy the rules applied by Eddie, but those are dynamically updated based on the AirVPN server list it seems (to allow those connections).

 

Thanks!
 

Jeff

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...