Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Routing between interfaces and VPN
« previous
next »
Print
Pages: [
1
]
Author
Topic: Routing between interfaces and VPN (Read 1705 times)
Tadeus99
Newbie
Posts: 5
Karma: 1
Routing between interfaces and VPN
«
on:
July 30, 2021, 01:13:00 am »
I am a newbie with OPNsense and would appreciate your comments on this:
This is my setup:
ISP – OPNsense __ eth1 -- VPN -- LAN1 ... PC1, PC3
|__ eth2 -- WAN -- LAN2 ... PC2, PC4
|__ eth3 ...
OPNsense is permanently connected to VPN for LAN1 traffic. LAN2 goes thru OPNsense NAT to access the internet with my ISP public IP.
I needed computers from LAN2 to access computers in LAN1 (ssh, smb, nfs, etc) and vice versa
As all LAN1 traffic is sent to VPN, I tried creating a floating rule. Did not work
I think i may need to somehow 'route' only local traffic between (LAN1) 192.168.10.X and (LAN2) 192.168.20.X before it reaches the gateway for each interface: VPN or WAN.
Just not sure how. Any ideas are appreciated.
«
Last Edit: July 30, 2021, 04:28:09 pm by Tadeus99
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Routing between interfaces and VPN