From b3e6a7305ba9734c49757ecf998a97ab63c37b31 Mon Sep 17 00:00:00 2001 From: Darik Horn Date: Wed, 23 Apr 2014 18:34:01 -0400 Subject: [PATCH] Create a ufw firewall template for SoftEther. Install a `/etc/ufw/applications.d/softether` file that describes network ports to keep open for the default SoftEther configuration. --- debian/rules | 4 ++++ debian/softether.ufw | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 debian/softether.ufw diff --git a/debian/rules b/debian/rules index dd9063bb..8ef99f9c 100755 --- a/debian/rules +++ b/debian/rules @@ -2,3 +2,7 @@ %: dh $@ --with autoreconf + +override_dh_install: + dh_install + install -m 644 -D debian/softether.ufw debian/softether/etc/ufw/applications.d/softether diff --git a/debian/softether.ufw b/debian/softether.ufw new file mode 100644 index 00000000..34e122b8 --- /dev/null +++ b/debian/softether.ufw @@ -0,0 +1,4 @@ +[SoftEther] +title=Multiprotocol VPN server. +description=DNS tunneling, ISAKMP, L2TP, NAT-T, SSTP, TELNETS, OVPN. +ports=53,500,1194,1701,4500/udp|443,992,1194,5555/tcp