Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Jalau

#1
Quote from: mimugmail on December 13, 2019, 09:07:58 PM
As you can see you had two interfaces with same IP

And how does this happen? Like what ip range do I need to change to avoid this?
#2
Quote from: mimugmail on December 13, 2019, 08:04:46 PM
Just post a ifconfig

Just restarted a VPN and this is the current IP it tried to bind:
Dec 13 19:14:59 openvpn[14215]: ERROR: FreeBSD route add command failed: external program exited with error status: 1
Dec 13 19:14:59 openvpn[14215]: /sbin/route add -net 10.8.1.0 10.8.1.1 255.255.255.0


Here is my ifconfig:

https://hastebin.com/sogexuvawu.log


Just restarted again and now it worked with this log output:
Dec 13 19:21:09   openvpn[69428]: Initialization Sequence Completed
Dec 13 19:21:06   openvpn[69428]: /usr/local/etc/inc/plugins.inc.d/openvpn/ovpn-linkup ovpnc1 1500 1584 10.8.3.4 255.255.255.0 init
Dec 13 19:21:06   openvpn[69428]: /sbin/route add -net 10.8.3.0 10.8.3.1 255.255.255.0

This is my new ifconfig (after I restarted the VPN):
https://hastebin.com/unefimivov.log
#3
Quote from: mimugmail on December 13, 2019, 08:02:11 PM
Maybe this tunnel network is already in use somewhere?

That would be 10.8.3.1? Or 10.8.3.0?

Can I check that in the console? And what part of opnsense could use such as mask? I didn't set anything regarding that.
#4
Bump  :)
#5
Hey guys,
I setup multiple VPNs (NordVPN) alongside a fallback group/gateway group. Now the problem is that all of them show up as online however some just can't connect to the internet. Using one at a time seems to work everytime, but with two or three running this error shows up:
"Dec 5 19:01:53 openvpn[26344]: ERROR: FreeBSD route add command failed: external program exited with error status: 1
Dec 5 19:01:53 openvpn[26344]: /sbin/route add -net 10.8.3.0 10.8.3.1 255.255.255.0"


So those that error out after restarting them show up as online but if selected as a gateway they can't connect to the internet at all and the amount of data send or received doesn't change either.
The biggest problem is that the VPNs sometimes restart themselves, then this error occurs and thus like half of my connections just time out. I really wanna get this solved because right now I am just using one single VPN as a gateway because this is the only way I can guarantee that I have a stable connection. However I would like a round robin like system which is already setup and sometimes work if all VPNs behave friendly that day. This seems to happen at random. If I restart them they sometimes work and sometimes this error shows up in the log instead. Any help is appreciated.

Here is my full (all I could gather) log btw:
https://hastebin.com/utiticiwix.log
#6
Solved. Had to add monitoring IPs to the gateways.
Still wondering though why they are required even though the VPNs as a single gateway worked fine in the firewall.
#7
Hey guys,
I setup 3 different VPN connections and I am trying to create a gateway group so I can have a fallback routine in place if one of them failes. I can just select their interfaces manually in the firewall rule which works and routes all my traffic through the selected VPN however this does not allow for a fallback mechanism. Now sadly for some reason in the gateway group all 3 VPNs are greyed out and say "Pending". If I select the Gateway group for a firewall rule it will just use my normal IP/connection for some reason even though I added no fallback to my normal IP/connection to the group. I am running version OPNsense 19.7.5-amd64. I restarted the server like 20 times already, no success.

Thanks for any help in advance.