Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
OpenVPN Policy Based Routing
« previous
next »
Print
Pages: [
1
]
Author
Topic: OpenVPN Policy Based Routing (Read 1566 times)
davidsimpson78
Newbie
Posts: 1
Karma: 0
OpenVPN Policy Based Routing
«
on:
June 18, 2020, 10:18:27 pm »
Hi All,
I am really sorry as i am sure this has been asked, i am new to OPNSense and new to building your own router, i have moved From an Asus router AC87u as i have ugraded my internet connection to gigabit fibre, ive built an OPNsense Router from a PC this goes to my 24port layer 2 switch and i have a couple AP's, i origionally started with PFSense, but i prefere OPNSense gui,
With Asus Merlin i could goto the OpenVPN Client page and i could set or select Mac addresses of what i wanted to go through my VPN, also tell it not to connect if the vpn goes down, I have googled and googled and there are so many guides but it just doesn't seem to be that simple,
Could someone point me in the direction of a guide/instructions to guide me thorough setting up openVPN so i can set specific IP's to go through my VPN and the rest of my traffic through WAN, i already have a VPN
My OPNSense setup works amazing im really impressed with it, i just really need to setup the last bit and im done.
Many thanks in advance.
Dave
Logged
tiermutter
Hero Member
Posts: 1097
Karma: 61
Re: OpenVPN Policy Based Routing
«
Reply #1 on:
June 21, 2020, 01:17:28 pm »
Policy based routing will be done with firewall rules, but i dont know how to do with ovpn connections.
Otherwise you can direct the specific clients to use VPN as default gateway by adding
Code:
[Select]
redirect-gateway
to the ovpn client config.
Logged
i am not an expert... just trying to help...
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
OpenVPN Policy Based Routing