Linux/OpenVPN: Unterschied zwischen den Versionen

Zeile 12: Zeile 12:
  username-as-common-name
  username-as-common-name


Add this line for TLS Authentication (the client then also has to import ta.key):
Add this line for TLS Authentication (the client then also has to import '''ta.key'''):
  tls-auth ta.key 0
  tls-auth ta.key 0


Check the necessary kernel options (can be set as M):
Check the necessary kernel options (can be set as '''M'''odul):
  CONFIG_TUN
  CONFIG_TUN
  CONFIG_IP_NF_CONNTRACK  
  CONFIG_IP_NF_CONNTRACK  
Zeile 34: Zeile 34:
  iptables -t nat -A POSTROUTING -s 10.100.0.0/24 -o eth0 -j MASQUERADE
  iptables -t nat -A POSTROUTING -s 10.100.0.0/24 -o eth0 -j MASQUERADE


Open port 12112 UDP on your router.
Open port '''12112 UDP''' on your router.


Start OpenVPN:
Start OpenVPN:
1.103

Bearbeitungen