vpn

no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


vpn [2022/10/13 09:11] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== VPN ======
  
 +===== Prerequisites =====
 +For our OpenVZ Services, PPP/TUN is automatically enabled, and hourly checks are performed on each container's configuration to ensure it is working.  All that is required is that you reboot your container at least one time after creation;  or to be 100% sure of functionality, any time after XX:00h.
 +
 +You can verify TUN/PPP functionality with the following commands:
 +
 +<code>cat /dev/ppp
 +> cat: /dev/ppp: No such device or address</code>
 +
 +<code>cat /dev/net/tun
 +> cat: /dev/net/tun: File descriptor in bad state</code>
 +
 +Should either command return a different error, please wait an hour (after your VPS has been created) for the automated fix to resolve the issue.
 +
 +===== Supported Daemons =====
 +  * [[vpn:openvpn|OpenVPN]]
 +  * [[vpn:pptpd|PPTPd]]
 +
 +===== IP Masquerading =====
 +IP Masquerading is not available on EidolonHost/OpenVZ, however you can work around this limitation with the following command: 
 +
 +<code>iptables -t nat -A POSTROUTING ! -o <tun|ppp>+ -j SNAT --to-source YOURVPSIP</code>
 +
 +Use tun for openvpn and ppp for PPTPd.
  • vpn.txt
  • Last modified: 2022/10/13 09:11
  • by 127.0.0.1