New answers tagged

0

Route the internals to an external through the respective NAT


0

Easy-rsa was bundled with OpenVPN 2.2.x and earlier. If you're using OpenVPN 2.3.x, you need to download easy-rsa separately from here. Location of easy-rsa up to openvpn 2.2.x: installed from rpm or deb: /usr/share/doc/packages/openvpn or /usr/share/doc/openvpn installed from a .tar.gz file: in the top level directory of the expanded source tree. Copy ...


1

UPDATE: For openvpn-as: The openvpn-as port is logged in the file /usr/local/openvpn_as/init.log You can find the port for example using grep: grep -rE "([0-9]{1,3}\.?){4}:[0-9]+/" /usr/local/openvpn_as The configuration of openvpn-as is handled by a script: /usr/local/openvpn_as/bin/ovpn-init For openvpn: The openvpn server port is defined using the ...


2

Shorewall is a tool for configuring iptables/netfilter firewall rules, so the documentation for netfilter is a more effective place to look. It says: It is perfectly legal to specify an interface that currently does not exist; the rule will not match anything until the interface comes up. This is extremely useful for dial-up PPP links (usually interface ...


1

You should first simplify your alias, there is no need to do the activate stuff. What is important is the first, shebang, line of the python script. It should read: #!/path/to/your/virtualenv/bin/python If the script is executable ( chmod +x script_name ) then the above line make sure that the python installed in virtualenv is called, and that ensures ...


0

In Raspbian, a Debian derivative, after deleting my config file from /etc/openvpn/ and then adding a differently named config file I found I had to: # systemctl daemon-reload Until then, openvpn was still trying to load the old, deleted config when run using service openvpn start, which I realised by tail following /var/log/syslog.


0

i got a simple solution. It works perfect on ethernet or wifi and it even restores the connection on a disconnect. At first you have to set up a vpn connection with your networkmanger. After that you have to place a file, i named it vpnautoconnect in the /etc/network/if-up.d directory. Do not forget to replace PrivateVPN with the Name of your VPN-Connection ...


0

You could continue down this path, but I'm going to suggest taking a step back and trying a rather different approach. You have a bunch of servers. You want them to be able to talk to each other, but you want to make sure that those connections are secure, and (I think) also block external connections to all servers other than a bastion host or two. ...


1

I read the instructions on: https://openvpn.net/index.php/open-source/documentation/howto.html#scope And I've added route 192.168.1.0 255.255.255.0 to the server.conf on my VPS and also iroute 192.168.1.0 255.255.255.0 to the correspondig ccd file for the client. And then I used the command route add -net 192.168.1.0 netmask 255.255.255.0 gw 10.8.0.6 and ...


0

I've managed to redirect the traffic on my Raspi with the following command: iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o tun0 -j MASQUERADE When I traceroute out of my NAS it goes through the tunnel. Now I only need to forward ports in this tunnel. UPDATE (solving the whole project): I finally found the correct port forwarding commands after ...


0

vpnautoconnect can do it. https://sourceforge.net/projects/vpnautoconnect/ Description : vpnautoconnect is a daemon that allow you to reconnect automatically (at startup too) a vpn create with network manager.It can reconnect very quickly and monitor the bandwith, It works with pptp and openvpn connection.



Top 50 recent answers are included