mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Fix shorewall rules and omr-6in4-service
This commit is contained in:
parent
fec353932b
commit
a4e4149075
3 changed files with 13 additions and 8 deletions
|
@ -1,2 +1,3 @@
|
|||
OMR_ADDR=10.255.255.1
|
||||
OMR_IFACE=gt-tun0
|
||||
VPS_ADDR=10.255.255.1
|
||||
OMR_ADDR=10.255.255.2
|
||||
VPS_IFACE=gt-tun0
|
||||
|
|
|
@ -20,4 +20,4 @@ MASQUERADE 10.0.0.0/8,\
|
|||
172.16.0.0/12,\
|
||||
192.168.0.0/16 eth0
|
||||
# SNAT from VPN server for all VPN clients
|
||||
SNAT($OMR_ADDR) 0.0.0.0/0 $OMR_IFACE
|
||||
#SNAT($VPS_ADDR) 0.0.0.0/0 $VPS_IFACE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue