OpenVPN server behind firewall issues

Posted by Gabriel on Server Fault See other posts from Server Fault or by Gabriel
Published on 2013-10-19T14:47:41Z Indexed on 2013/10/19 15:57 UTC
Read the original article Hit count: 393

Filed under:
|

I'm trying to setup an OpenVPN but I do have some problems doing it. This is my scenario:

INTERNET --- HOME ROUTER (10.1.0.0/28) --- FIREWALL SERVER (DEFAULT GATEWAY FOR MY INTERNAL LAN 10.1.0.2) --- OpenVPN Server (10.1.0.9 LAN | 10.2.0.1 VPN) single nic / bridge iface

I can connect to my VPN server successfully (it gets the 10.2.0.5 address). Though, I'm not able to ping anything, neither my VPN server, nor my lan clients.

I guess the problem is on the firewall. I'm not really an expert on iptables, I tried adding plenty of different rules without success. I would appreciate a lot if someone could explain me how to get to work the VPN server in this scenario. After connecting through VPN, when I try to ping the server, I'm not really sure about how the ping message gets to the server and how the response should go back to the client.

Thanks a lot

Gabriel

© Server Fault or respective owner

Related posts about firewall

Related posts about openvpn