summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot@culturestrings <root@culturestrings>2020-09-03 00:36:21 +0000
committerroot@culturestrings <root@culturestrings>2020-09-03 00:36:21 +0000
commit2f044e856d4ea14f649d0c2b062c7cd44c3e8fcc (patch)
tree9d8ad571cae156cc320c3cab840eb9af967ccf66
parentc0e1c80b2ac4593944985753f6802237b1f480c7 (diff)
downloadculturestrings-2f044e856d4ea14f649d0c2b062c7cd44c3e8fcc.tar.bz2
culturestrings-2f044e856d4ea14f649d0c2b062c7cd44c3e8fcc.tar.xz
firehol: support two distinct (masquerading and non-masquerading) vpn's.
-rw-r--r--public/fs/etc/firehol/firehol.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/public/fs/etc/firehol/firehol.conf b/public/fs/etc/firehol/firehol.conf
index be1e721..7d59713 100644
--- a/public/fs/etc/firehol/firehol.conf
+++ b/public/fs/etc/firehol/firehol.conf
@@ -30,6 +30,9 @@ client_ssh_ports="default"
server_openvpn_ports="udp/$vpn_port"
client_openvpn_ports="default"
+server_accvpn_ports="udp/$avpn_port"
+client_accvpn_ports="default"
+
server_git_ports="tcp/9418"
client_git_ports="default"
@@ -61,6 +64,7 @@ interface eth0 world
server ssh accept
server openvpn accept
+ server accvpn accept
server ping accept
server git accept
@@ -98,3 +102,20 @@ router6 ipv6vpn inface tun0 outface eth0
route all accept
client all accept
server all accept
+
+
+# accvpn
+interface tun1 accvpn
+ policy accept
+
+
+router4 ipv4avpn inface tun1 outface eth0
+ route all accept
+ client all accept
+ server all accept
+
+
+router6 ipv6avpn inface tun1 outface eth0
+ route all accept
+ client all accept
+ server all accept