2018-03-30 07:52:49 +00:00
|
|
|
#
|
|
|
|
# Shorewall - Sample SNAT/Masqueradee File for two-interface configuration.
|
|
|
|
# Copyright (C) 2006-2016 by the Shorewall Team
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# version 2.1 of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# See the file README.txt for further details.
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# For information about entries in this file, type "man shorewall-snat"
|
|
|
|
#
|
|
|
|
# See http://shorewall.net/manpages/shorewall-snat.html for more information
|
|
|
|
###########################################################################################################################################
|
|
|
|
#ACTION SOURCE DEST PROTO PORT IPSEC MARK USER SWITCH ORIGDEST PROBABILITY
|
|
|
|
#
|
2021-06-08 17:42:39 +00:00
|
|
|
MASQUERADE 10.255.247.0/24,\
|
|
|
|
10.255.248.0/24,\
|
|
|
|
10.255.250.0/24,\
|
|
|
|
10.255.251.0/24,\
|
|
|
|
10.255.252.0/24,\
|
|
|
|
10.255.253.0/24,\
|
|
|
|
10.255.254.0/24,\
|
|
|
|
10.255.255.0/24,\
|
2018-03-30 07:52:49 +00:00
|
|
|
169.254.0.0/16,\
|
|
|
|
172.16.0.0/12,\
|
2018-07-28 18:39:32 +00:00
|
|
|
192.168.0.0/16 $NET_IFACE
|
2018-03-30 07:52:49 +00:00
|
|
|
# SNAT from VPN server for all VPN clients
|
2018-06-13 12:25:05 +00:00
|
|
|
#SNAT($VPS_ADDR) 0.0.0.0/0 $VPS_IFACE
|