| Linode Forum https://forum.linode.com/ |
|
| [newbie] change firewall for OpenVPN? https://forum.linode.com/viewtopic.php?f=19&t=11368 |
Page 1 of 1 |
| Author: | TomRoche [ Wed Oct 15, 2014 11:01 pm ] |
| Post subject: | [newbie] change firewall for OpenVPN? |
I'm setting up a Debian 7 linode which will need to run OpenVPN. Before starting the Debian OpenVPN instructions I setup the linode using the Getting Started and Securing Your Server docs, so my linode's firewall configuration is Code: me@linode:~$ date ; sudo iptables -L Unfortunately my knowledge of linux networking generally, and `iptables` particularly, is not great. So I'd like to know: will I need to change my `iptables` rules in order to accommodate OpenVPN? Note my usecase is pretty simple: I'm just configuring the linode to be a jumpbox through which to route traffic to another network. |
|
| Author: | levlaz [ Sat Nov 01, 2014 9:00 am ] |
| Post subject: | Re: [newbie] change firewall for OpenVPN? |
Hello! From the OpenVPN documentation[1], openVPN runs on the following ports: Quote: Short answer: TCP 443, TCP 943, UDP 1194 Long answer: By default OpenVPN Access Server has 2 OpenVPN daemons running. One of them on UDP port 1194 and another on TCP 443. We recommend that you use the UDP port because this functions better for an OpenVPN tunnel. However, many public locations block all sorts of ports except very common ones like http, https, ftp, pop3, and so on. Therefore we also have TCP 443 as an option. TCP port 443 is the default port for https:// (SSL) traffic and so this is usually allowed through at the user's location. TCP port 943 is the port where the web server interface is listening by default. You can either approach this directly using a URL like https://yourserverhostnamehere:943/ or by approaching it through the standard https:// port TCP 443, since the OpenVPN daemon will automatically internally route browser traffic to TCP 943 by default. (https://yourserverhostnamehere/). So, depending on which ports you would like to use, you will need ensure that they are opened up in IP tables. [1] https://docs.openvpn.net/frequently-asked-questions/ Best, Lev |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|