1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-02-13 03:41:57 +00:00
openmptcprouter-vps/shorewall6/snat
Ycarus (Yannick Chabanois) dcf20947f2 Add 6in4 support
2018-05-04 06:28:28 +00:00

21 lines
1,016 B
Text

#
# 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
#
MASQUERADE fe80::/10,\
fd00::/8 eth0
# SNAT from VPN server for all VPN clients
SNAT(fe80::a00:1) ::/0 omr-6in4