Peer To Peer OpenVPN Pfsense
Peer To Peer OpenVPN Pfsense
Peer To Peer OpenVPN Pfsense
Search...
pfSense Forum pfSense English Support OpenVPN [SOLVED] Site-to-site OpenVPN between pfSense and MikroTik
previous next
Author Topic: [SOLVED] Site-to-site OpenVPN between pfSense and MikroTik (Read 10019 times)
I use only pfSense for my site-to-site connections, but now I want to use on some remote sites MikroTik. I need to run
OpenVPN (IPsec will be too hard to manage with different NAT issues on remote locations).
My network diagram:
192.168.151.0/24 -> 192.168.14.254 (pfSense 1.1.1.1) -> Internet <- (2.2.2.2 MikroTik) 192.168.14.254 <-
192.168.14.0/24
pfSense is OpenVPN server, Peer to Peer - (SSL/TLS), IPv4 Tunnel Network 10.30.30.0/29, IPv4 Local Network:
192.168.151.0/24, IPv4 Remote Network: 192.168.14.0/24.
The tunnel is up, MikroTik is connected and from the terminal ping to 192.168.151.7 works. But ping from workstations
behind the MikroTik does not work at all.
If I add to MikroTik NAT rule (srcnat, vpn-tunnel, masquerade) it works, but I want to use site-to-site connection.
I know that I miss something big, but I'm new to MikroTik and can't find any useful information about this.
Last Edit: March 25, 2016, 07:42:51 am by unguzov Logged
192.168.151.0/24 -> (pfSense 1.1.1.1) -> Internet <- (2.2.2.2 MikroTik) <- 192.168.14.0/24
pfSense:
MikroTik:
1. Copy two certificate files and the key file to Files. Import all of them from System/Certificates.
It works as expected - I can ping workstations from both sides of the tunnel.
Last Edit: April 23, 2016, 01:49:58 am by unguzov Logged
agismaniax Re: [SOLVED] Site-to-site OpenVPN between pfSense
and MikroTik
Full Member
Reply #2 on: April 01, 2016, 07:17:30 pm
UPDATE:
my ovpn setting is working fine.
Last Edit: April 03, 2016, 11:46:36 pm by agismaniax Logged
UPDATE:
my ovpn setting is working fine.
It works just fine with PPPoE for example, after PPPoE connection OVPN Client connects as usual. What problem do you
have and what dial-out protocol you are using in MikroTik?
Logged
MikroTik:
mikrotik clients can reach pfsense LAN clients, only if I enable NAT on Ovpn interface on mikrotik,
but with this the Pfsense LAN clients get traffic from tunnel IP 10.30.30.2 not from Remote LAN.
Please explain what you mean with the advanced client-to-client, I can't see any option, also in specific override I've
added "push route 192.168.14.0 255.255.255.0".
Please,help. Thanks, BR
Logged
192.168.151.0/24 -> (pfSense 1.1.1.1) -> Internet <- (2.2.2.2 MikroTik) <- 192.168.14.0/24
pfSense:
MikroTik:
1. Copy two certificate files and the key file to Files. Import all of them from System/Certificates.
It works as expected - I can ping workstations from both sides of the tunnel.
Posts: 12 hi all..
Karma: +1/-0 excuse me... it's been solved..
the service of OpenVPN have to be restarted..
then the flow goes well..
Posts: 2 Hi guys
Karma: +0/-0
I have read your potst, followed the instructions but still have trouble with set up openvpn in this configuration like
'kahardreams described'.
LAN computers behind openvpn server on pfsense can't ping mikrotik LAN computers (and mikrotik LAN interface
address) , but in other way its working great (mikrotik LAN computer have access to LAN behind pfsense).
Situation is the same like on diagram provided by 'kahardreams '.
Regards
Logged
previous next
pfSense Forum pfSense English Support OpenVPN [SOLVED] Site-to-site OpenVPN between pfSense and MikroTik