OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • OPNsense + expressvpn/nordvpn?
« previous next »
  • Print
Pages: [1]

Author Topic: OPNsense + expressvpn/nordvpn?  (Read 7238 times)

mr.sarge

  • Newbie
  • *
  • Posts: 42
  • Karma: 1
    • View Profile
OPNsense + expressvpn/nordvpn?
« on: October 30, 2017, 11:35:40 am »
Hello,

is it possible to route the traffic from a single ip address through expressvpn or nordvpn with OPNsense?
At the moment I'm using a Sonicwall TZ210 and it seems there is no possibilty

best regards,

Sarge
Logged

NilsS

  • Full Member
  • ***
  • Posts: 176
  • Karma: 19
    • View Profile
Re: OPNsense + expressvpn/nordvpn?
« Reply #1 on: October 30, 2017, 11:49:04 am »
checkout https://forum.opnsense.org/index.php?topic=4979.msg25066#msg25066
Logged

NilsS

  • Full Member
  • ***
  • Posts: 176
  • Karma: 19
    • View Profile
Re: OPNsense + expressvpn/nordvpn?
« Reply #2 on: October 30, 2017, 11:53:58 am »
the main problem is that the VPN providers push a default route.
You need to remove it to not route your OPNsense traffic over it.

Code: [Select]
route 0.0.0.0 192.0.0.0 net_gateway
route 64.0.0.0 192.0.0.0 net_gateway
route 128.0.0.0 192.0.0.0 net_gateway
route 192.0.0.0 192.0.0.0 net_gateway
to Advanced Section of your VPN Config.

use policy routing for the single IP you need over VPN
Assign an Interface for your VPN Client OVPNCx
Enable Interface
Description YOURVPN
IPV4/IPv6 None/None
Firewall -> Rules -> LAN:
Action Pass
Interface LAN
Source YOURIPTHATNEEDSVPN
Gateway YOURVPN


https://community.openvpn.net/openvpn/wiki/IgnoreRedirectGateway
« Last Edit: October 30, 2017, 11:58:45 am by NilsS »
Logged

mr.sarge

  • Newbie
  • *
  • Posts: 42
  • Karma: 1
    • View Profile
Re: OPNsense + expressvpn/nordvpn?
« Reply #3 on: October 30, 2017, 01:22:54 pm »
Hello NilsS,

thanks for the information!

best regards,

Sarge
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • OPNsense + expressvpn/nordvpn?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2