Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] 2 VPN Connections from mainoffe to two brach
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] 2 VPN Connections from mainoffe to two brach (Read 2691 times)
ppitopn
Newbie
Posts: 10
Karma: 1
[SOLVED] 2 VPN Connections from mainoffe to two brach
«
on:
January 31, 2018, 06:35:39 am »
Hello
I have 3 locations.
Central opnsense
1st branch office opnevpn server linux
2nd brach office opnsense opnvpn server configured
From the main office I have set up an openvpn tunnel to the 1st field office. Here everything runs, the routing works.
For 2nd branch office I have an openvpn connection but I can not reach any servers or devices there.
Firewall rules are set.
Any ideas?
Here the log
an 31 05:29:49 openvpn[45163]: Initialization Sequence Completed
Jan 31 05:29:49 openvpn[45163]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Jan 31 05:29:49 openvpn[45163]: ERROR: FreeBSD route add command failed: external program exited with error status: 1
Jan 31 05:29:49 openvpn[45163]: /usr/local/sbin/ovpn-linkup ovpnc2 1500 1552 10.10.8.6 10.10.8.5 init
Jan 31 05:29:49 openvpn[45163]: /sbin/ifconfig ovpnc2 10.10.8.6 10.10.8.5 mtu 1500 netmask 255.255.255.255 up
Jan 31 05:29:49 openvpn[45163]: do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Jan 31 05:29:49 openvpn[45163]: TUN/TAP device /dev/tun2 opened
Jan 31 05:29:49 openvpn[45163]: TUN/TAP device ovpnc2 exists previously, keep at program end
Jan 31 05:29:48 openvpn[45163]: [internal-ca] Peer Connection Initiated with [AF_INET]xxx.xxx.xx.xxx:1194
Jan 31 05:29:48 openvpn[45163]: WARNING: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
Jan 31 05:29:48 openvpn[45163]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1601', remote='link-mtu 1602'
Jan 31 05:29:48 openvpn[45163]: UDP link remote: [AF_INET]xxx.xxx.xx.xxx:1194
Jan 31 05:29:48 openvpn[45163]: UDP link local (bound): [AF_INET]xxx.xxx.xx.xxx:0
Jan 31 05:29:48 openvpn[45163]: TCP/UDP: Preserving recently used remote address: [AF_INET]xxx.xxx.xx.xxx:1194
Jan 31 05:29:48 openvpn[45163]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jan 31 05:29:48 openvpn[45163]: WARNING: No server certificate verification method has been enabled. See
http://openvpn.net/howto.html#mitm
for more info.
«
Last Edit: February 01, 2018, 06:46:35 pm by franco
»
Logged
ppitopn
Newbie
Posts: 10
Karma: 1
Re: 2 VPN Connections from mainoffe to two brach
«
Reply #1 on:
January 31, 2018, 09:46:47 am »
Solved...Wrong Netmask for TunnelNetwork ...Works now
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] 2 VPN Connections from mainoffe to two brach