Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
IPSec trough another link/gateway
« previous
next »
Print
Pages: [
1
]
Author
Topic: IPSec trough another link/gateway (Read 4014 times)
gfaria.mello
Newbie
Posts: 6
Karma: 0
IPSec trough another link/gateway
«
on:
June 15, 2018, 04:45:51 pm »
Hello,
I have to configure one IPSec VPN Site-to-site but I don't know if the OPNSense do that with the following configuration:
NetworkA - There are two links configured in OPNSense:
Link1 - PPPoE - Use for common internet access;
Link2 - Static IP - Use only for a IPSec VPN between NetworkA and NetworkB.
NetworkB - Has only one internet link.
------
I tried some settings, but I didn't succeed because network traffic insists to going through "Link1".
Can someone help me with that?
Thank you !!
Logged
camouflageX
Newbie
Posts: 16
Karma: 1
Re: IPSec trough another link/gateway
«
Reply #1 on:
June 20, 2018, 01:34:56 pm »
Hello,
I guess you could add a static route to the WAN ip address of Network B and use the gateway of link 2. Then all outgoing traffic with destination address of Network B uses the internet connection with the static ip address.
Logged
gfaria.mello
Newbie
Posts: 6
Karma: 0
Re: IPSec trough another link/gateway
«
Reply #2 on:
August 09, 2018, 04:19:35 pm »
I solved the problem by prioritizing the firewall rule for the vpn. Not a problem, my mistake.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
IPSec trough another link/gateway