Jayaram's picture

Hi,

 

I'd like to set up the Turnkey OpenVPN so that it works over TCP and on a different port than what's configured by default.

 

Changing the server.conf and restarting openvpn service doesn't seem to help.  Changing the startup shell script (that I found by grepping for 1194) for openvpn also didn't seem to help.  I also couldn't find any easy way to change it anywhere else.

 

Appreciate if someone could help me with this please.

 

JV

Forum: 
Jeremy Davis's picture

I'm certainly no OpenVPN expert (TBH I've never used it...) but AFAIK you would adjust the conf file, e.g.:

nano /etc/openvpn/server.conf

And then restart

service openvpn restart

But it sounds like you tried that and it didn't work... Did you reopen the conf file to make sure that your changes had been saved? Also depending on where you're running it, make sure that you have the rest of the network (e.g. firewall, NAT router, etc) preconfigured to work with the new protocol...

I just had a quick dig and perhaps the Debian OpenVPN wiki page might be of some help/guidance? (TKL is Debian based and AFAIK OpenVPN is installed from Debian package management). Sorry I don't have the answer, but if you find it, please post back...

persianhero's picture

Hi,

have you managed to sort it out?

Jeremy Davis's picture

If so, I'll have to have a look into it and see what is going on. In the meantime I have opened an issue on our Tracker.
Anton Pyrogovskyi's picture

You are not running the latest version of TurnKey Linux. Please use the latest version from https://www.turnkeylinux.org/openvpn and let us know if the problem persists.
Jeremy Davis's picture

Thanks very much for looking into this.

Add new comment