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 - alie2n

#1
20.1 Legacy Series / Re: Assign static IP to OpenVPN user
November 17, 2020, 03:10:04 PM
Hi,
first of all your ip adresses are off. Any octet cannot be bigger than "255".  ;)

Then the syntax depend on the topology your openvpn server uses (default: topology net30) und what clients you are serving.
For topology net30 (default) and windows clients the following syntax is correct:
ifconfig-push x.y.z.105 x.y.z.106

The valid ip adress pairs can be viewed by executing the openvpn binary on the windows client with the following parameter:
"c:\Program Files\OpenVPN\bin\openvpn.exe" --show-valid-subnets
#2
Hi,
we are experiencing a strange problem on our opnsense box. Our outbound nat is set to manual mode and we have defined quite a lot outbount nat rules. While running everything is working fine. As soon as I reboot the opnsense box the outbound nat rules stop working.
After the reboot I see unnated traffic on the wan interface as allowed by the firewall rules.
As soon as I change any outbound nat rule the rest of the bunch starts working and traffic start to flow.

The one thing special in this case is that we are running a single node cluster (the other cluster member died and is still offline) with several carp virtual ip adresses.
I suspect that shortly after the reboot the virtual ip is not available and the nat rules cannot be applied. Is this a reasonable theory?


Cheers