mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Latest changes to VPS script
This commit is contained in:
parent
33a9f4fd21
commit
4c588eb74d
11 changed files with 77 additions and 51 deletions
|
@ -15,10 +15,9 @@
|
|||
###############################################################################
|
||||
#ZONE INTERFACE OPTIONS
|
||||
net $NET_IFACE dhcp,tcpflags,routefilter,nosmurfs,sourceroute=0
|
||||
vpn gt-tun0 nosmurfs,routefilter,tcpflags
|
||||
vpn gt-udp-tun0 nosmurfs,routefilter,tcpflags
|
||||
vpn mlvpn0 nosmurfs,routefilter,tcpflags
|
||||
vpn tun0 nosmurfs,routefilter,tcpflags
|
||||
vpn tun1 nosmurfs,routefilter,tcpflags
|
||||
vpn dsvpn0 nosmurfs,routefilter,tcpflags
|
||||
vpn gt-tun+ nosmurfs,routefilter,tcpflags
|
||||
vpn gt-udp-tun+ nosmurfs,routefilter,tcpflags
|
||||
vpn mlvpn+ nosmurfs,routefilter,tcpflags
|
||||
vpn tun+ nosmurfs,routefilter,tcpflags
|
||||
vpn dsvpn+ nosmurfs,routefilter,tcpflags
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@ vpn fw ACCEPT
|
|||
fw vpn ACCEPT
|
||||
fw net ACCEPT
|
||||
net all DROP info
|
||||
vpn vpn DROP
|
||||
# THE FOLLOWING POLICY MUST BE LAST
|
||||
all all REJECT info
|
||||
all all REJECT info
|
||||
|
||||
|
|
|
@ -13,16 +13,14 @@
|
|||
###############################################################################
|
||||
#ACTION SOURCE DEST PROTO DEST SOURCE
|
||||
# PORT(S) PORT(S)
|
||||
ACCEPT gt-tun0 -
|
||||
ACCEPT - gt-tun0
|
||||
ACCEPT gt-udp-tun0 -
|
||||
ACCEPT - gt-udp-tun0
|
||||
ACCEPT mlvpn0 -
|
||||
ACCEPT - mlvpn0
|
||||
ACCEPT dsvpn0 -
|
||||
ACCEPT - dsvpn0
|
||||
ACCEPT tun0 -
|
||||
ACCEPT - tun0
|
||||
ACCEPT tun1 -
|
||||
ACCEPT - tun1
|
||||
ACCEPT gt-tun+ -
|
||||
ACCEPT - gt-tun+
|
||||
ACCEPT gt-udp-tun+ -
|
||||
ACCEPT - gt-udp-tun+
|
||||
ACCEPT mlvpn+ -
|
||||
ACCEPT - mlvpn+
|
||||
ACCEPT dsvpn+ -
|
||||
ACCEPT - dsvpn+
|
||||
ACCEPT tun+ -
|
||||
ACCEPT - tun+
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue