TIP openvpn

by bouleetbil 11. novembre 2010 22:36

Some TIP :

1. You have this error :
... Authenticate/Decrypt packet error: packet HMAC authentication failed...
...TLS Error: incoming packet authentication failed from...

Try to comment tls-auth into server.conf and client.conf

2. Forwarding server, for see the computers into the sever network :

echo 1 > /proc/sys/net/ipv4/ip_forward

Or edit /etc/sysctl.conf for add

net.ipv4.conf.default.forwarding=1

3. Push routes to the client to allow it to reach other private subnets behind the server. Remember that these private subnets will also need to know to route the OpenVPN client address pool (10.8.0.0/255.255.255.0) back to the OpenVPN server.

push “route 192.168.1.0 255.255.255.0″
192.168.1.0 is the real address of the server

4. Gateway :

push “route 192.168.1.0 255.255.255.0″
192.168.1.0 is the real ip address of the server

Tags:

Frugalware | Linux

Commentaires