Help with adjusting the port

Got a problem with Viscosity or need help? Ask here!

DominikHoffmann

Posts: 6
Joined: Wed May 30, 2018 3:49 pm

Post by DominikHoffmann » Fri May 15, 2020 11:59 am
I successfully followed the SprakLabs instructions for how to https://www.sparklabs.com/support/kb/ar ... viscosity/. That sets up a VPN port of 1194. The IT infrastructure at my work blocks pretty much everything, but Port 443. Since I am not running a web server from my home network, Port 443 is unused, but my work network has to keep that outbound port open for HTTPS.

So, what I would like to do is have the OpenVPN server on my pfSense box also listen to Port 443. How do I do that?

DominikHoffmann

Posts: 6
Joined: Wed May 30, 2018 3:49 pm

Post by DominikHoffmann » Fri May 15, 2020 1:02 pm
I have tried all sorts of things like:
  1. Duplicating the OpenVPN server in pfSense that works and modifying only the local port (from 1194 to 443). I also had to change the tunnel network from 10.8.0.0/24 to 10.8.1.0/24, because pfSense does not allow two OpenVPN servers with the same tunnel network.
  • In Viscosity duplicating the connection preferences of the one that works on Port 1194 and changing the port to 443 and the server to 10.8.1.1.
  • Duplicating the firewall rule for allowing transport on Port 1194 for Port 443.
[/list]
This did not work. Neither did using the Client Export from the Client Export Package to generate another Viscosity Bundle with the correct parameters.

I must be missing something.

James

User avatar
Posts: 1978
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Fri May 15, 2020 1:21 pm
Hi DominikHoffmann,

You'll likely have to change the protocol to TCP as well (instead of UDP).

If Deep Packet Inspection (DPI) is being used to block VPN connections, you'd need to look at using obfuscation:
https://www.sparklabs.com/support/kb/ar ... viscosity/

Cheers,
James
James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

DominikHoffmann

Posts: 6
Joined: Wed May 30, 2018 3:49 pm

Post by DominikHoffmann » Tue May 19, 2020 12:19 pm
Thanks, James!
4 posts Page 1 of 1