Saturday, February 8, 2014

Openvpn client connected but cannot access Internet.

The solution is to add iptables rules below. and dont forget to push dns for client.

Reference: https://bbs.archlinux.org/viewtopic.php?pid=1112882#p1112882


Do you have the possibility to do a packet capture on the external interface of the server to check if there are any related packets leaving (verify if they're getting source natted correctly etc)?

Normally the MASQUERADE should do the job just fine in this case; but just for the sake of it try using a specific source NAT statement:

    iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j SNAT --to <serverpublicip>    

Centos 7 reset root/ any user lost password / lockout due to cant remember password

1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...