Page 1 of 1

OpenVPN server behind firewall.

Posted: Thu Aug 06, 2015 8:45 pm
by MisterRichard
Hi All,

I have an openVPN linux server in a network behind an ADSL modem.

There is an ADSL Modem that port forwards 1194 udp to a linux box: 192.168.15.2.

The ADSL modem is : 192.168.15.1.

OpenVPN conf file has 192.168.2.0/24 setup as the VPN subnet.

The rest of the boxes are windows boxes on the 192.168.15.0/24 subnet.

There is a static route on the modem that looks like this : 192.168.2.0/24 - gw 192.168.15.2 (IP of linux box).

I am using Shorewall as a firewall on the linux box. (as per this guide http://www.shorewall.net/OPENVPN.html)

Which has a tunnels file : openvpnserver:1194 net 0.0.0.0/0
and an interfaces file with a VPN zone : vpn tun+
and a rules file which allows all traffic from the net zone to the vpn zone.

OpenVPN lets me connect, I can ping the gateway : 192.168.15.1 and the linux box 192.168.15.2 - but not anywhere else on the network.

I have OpenVPN in many other places, however everywhere else the linux box is acting as a gateway and is working perfectly.

I can't figure out why I can't get to anywhere else on the network.

Could somebody please provide me with some clues ?

Regards,

Richard

Re: OpenVPN server behind firewall.

Posted: Tue Aug 11, 2015 7:25 am
by maikcat
are your pcs inside the lan have firewall enabled?

Michael.