Jump to content
Not connected, Your IP: 3.15.145.50

Leaderboard


Popular Content

Showing content with the highest reputation on 07/13/20 in all areas

  1. 1 point
    eburom

    netflix issues

    I can tell you what I do to watch netflix and amazon prime while connected to airvpn. You will need another device outside the vpn to which you have ssh access, in my case a raspberry pi. What I do is use dynamic port forwarding to end up with a browser that works outside the VPN. You have to be careful as anything you browse in there will go through the other device and not the VPN. The steps would be: 1. Set up ssh access to a device outside the VPN I will not describe the whole process of setting up ssh access as there is plenty information on the internet. 2. Start a dynamic port forwarding the most basic command would be something like ssh -D port_number device Lets say port_number is 24007. when you run this command the port will be forwarded until you close the console. If you use windows you can look for putty (I think plink is the name of the utility you need). 3. Configure a browser to use that as a proxy If you use firefox and want to keep using it have a look to browsers profiles. firefox -P NoVPN Just be careful not to set this profile to be the default when you open firefox. Open preferences and search for proxy settings (inside Network settings) and select: o Manual proxy configuration. ... SOKS Host: 127.0.0.1 Port: 24007 o SOCKS v5 # Proxy DNS when using SOCKS v5 I added an image to clarify this. Once you are done netflix (or pretty much anything that works at your place outside the VPN) will work in this browser. If this can be useful to you and need any extended help setting things up just let me know.
  2. 1 point
    NaDre

    Split Tunnel on Ubuntu 18.04

    I just run it in "screen". And start it with "crontab"/"crond". For screen you can use a command something like "screen -fa -dmS openvpn_client openvpn_exe ...". Then you don't have to keep an SSH session open for it. To disconnect in screen is "ctrl-a" followed by "d". To resume a session is "screen -r openvpn_client". To list sessions is "screen -ls". See "man screen". To start it with cron, you could put "screen -fa -dmS openvpn_client openvpn_exe ..." into "~/bin/openvpn_client". Then run "crontab -e" and add an entry like "@reboot /bin/bash -l $HOME/bin/openvpn_client". See "man crontab" and "man 5 crontab". "crontab -e" will ask what editor to use. I suggest "nano". See the bottom line in nano for how to save and exit (ctrl-o and ctrl-x). When you want to change the VPN configuration file being used you would edit "~/bin/openvpn_client"" to change the argument passed to "openvpn_exe". I find this approach works in any Linux distro and is not broken during release upgrades. My setup is a little more elaborate than what I described. Just trying to point out one approach. EDIT: I added a bit about using "screen" and "cron" to the github wiki page.
  3. 1 point
    There are no startup scripts with systemd, only unit files defining a variety of things, be it a service, a socket, a target, etc. But you can execute a script with such a unit file which comes close to what you mean. Anyway, it should be possible. Create a basic service file, something like the following, name it like "ovpn-selective.service" or so, then move it to /lib/systemd/system and trigger a daemon-reload:: [Unit] Description=Selective OpenVPN connection After=network-online.target Wants=network-online.target [Service] ExecStart=/path/to/the/script.sh --with the --arguments +you -want to +use [Install] WantedBy=multi-user.target $ sudo mv ovpn-selective.service /lib/systemd/system/ $ systemctl daemon-reload Check that it works. If it does, mark it for startup: $ systemctl start ovpn-selective.service $ systemctl enable ovpn-selective.service
×
×
  • Create New...