OpenVPN server behind firewall.

All comments and questions related to the functionality of the OpenVPN web pages and forum should go here.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Locked
MisterRichard
OpenVpn Newbie
Posts: 1
Joined: Thu Aug 06, 2015 8:37 pm

OpenVPN server behind firewall.

Post by MisterRichard » Thu Aug 06, 2015 8:45 pm

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

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: OpenVPN server behind firewall.

Post by maikcat » Tue Aug 11, 2015 7:25 am

are your pcs inside the lan have firewall enabled?

Michael.

Locked