ports/security/softether/files/patch-src__Cedar__Nat.h
Kurt Jaeger ff1c1f4c64 New port: security/softether
SoftEther VPN ("SoftEther" means "Software Ethernet") is a powerful,
multi-OS and easy-to-use multi-protocol VPN software. It supports
SSL-VPN (HTTPS), as well as OpenVPN, IPsec, L2TP, MS-SSTP, L2TPv3
and EtherIP tunneling protocols and has a clone function to support
OpenVPN clients.

WWW: http://www.softether.org

PR:		188437
Submitted by:	net@arrishq.net
Reviewed by:	marino
2015-09-01 16:30:28 +00:00

11 lines
538 B
C

--- src/Cedar/Nat.h.orig 2014-06-08 06:19:15 UTC
+++ src/Cedar/Nat.h
@@ -115,7 +115,7 @@
#define NAT_H
// Constants
-#define NAT_CONFIG_FILE_NAME "@vpn_router.config" // NAT configuration file
+#define NAT_CONFIG_FILE_NAME "/var/db/softether/vpn_router.config" // NAT configuration file
#define DEFAULT_NAT_ADMIN_PORT 2828 // Default port number for management
#define NAT_ADMIN_PORT_LISTEN_INTERVAL 1000 // Interval for trying to open a port for management
#define NAT_FILE_SAVE_INTERVAL (30 * 1000) // Interval to save