[solved]Problem with connection to Lan via RoadWarrior
-
Hi,
I have just started with pfsense for testing and have some problems with an RoadWarrior setup.
The connection to the VPN-Server works just fine but the connection to the Servers in the LocalNetwork is impossible. The problem seems to be that all Servers in the LAN have a default gateway which is not the pfsense.
I have set a Gateway for the LAN interface which faces to the Intern-Gateway
1. Should i just add a route from the default gateway to the pfsense?
2. And what would the route look like when my LAN is 192.1.1.0/24, WAN 192.168.0.0/24, VPN 10.0.8.0/24
3. Is the Gateway in the pfsense enough or will i have to add a route to the Intern-GatewayMany thanks in advance.
ps.: sorry for the bad englisch, not my first language.
-
a) For example, if your other router/default gateway LAN IP is 192.168.1.1 and the pfSense LAN IP is 192.168.1.42 then, on 192.168.1.1 add a route:
10.0.8.0/24 -> 192.168.1.42
192.168.1.1 might also send ICMP redirect messages back to your servers, telling them that packets to an address in 10.0.8.0 are best routed directly through 192.168.1.42 - and if the servers take notice of ICMP redirects then they will start routing more efficiently back to your VPN.If (a) has issues, then (b) add a static route to each server:
10.0.8.0/24 -> 192.168.1.42 -
solved my problem, many thanks ;) .