How do I set up this configuration for site-to-site?
-
I have two pfsense boxes.
Box 1
LAN = 192.168.1.1/24
WLAN = 192.168.2.1/24Box 2
LAN = 192.168.3.1/24
WLAN = 192.168.4.1/24I want to create a vpn tunnel across these two boxes and have anyone on these interfaces be able to talk to each other as if there were connected via a wire.
I currently have firewall rules to allow WLAN talking to LAN and vice versa on each of the boxes already! Thanks in advance!
-
this works pretty streight forward:
Create key, put in config on openVPN page.
If you want access to both Subnets on the other side from the tunnel (een from both sides) you will need an additional custom option.I assume you have put the LAN on both sides in the localnet / remotenet and you just need additional routes for the WLAN.
on serverside (Box 1)
push "route 192.168.2.0 255.255.255.0"
route 192.168.4.0 255.255.255.0for more infos take a look at the MAN pages on http://openVPN.net
-
I will give this a try again. I followed the guide at the top of the forums for setting up site to site but was unable to get some pings going across. Everything was connected but i don't understand it completely. Thanks!