mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 15:43:30 +01:00
IPv6 Samples use logical interface names
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
a9373d727b
commit
5aaf1e53de
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Shorewall6 version 5 - Sample Interfaces File for one-interface configuration.
|
# Shorewall6 - Sample Interfaces File for one-interface configuration.
|
||||||
# Copyright (C) 2006-2015 by the Shorewall Team
|
# Copyright (C) 2006-2017 by the Shorewall Team
|
||||||
#
|
#
|
||||||
# This library is free software; you can redistribute it and/or
|
# This library is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU Lesser General Public
|
# modify it under the terms of the GNU Lesser General Public
|
||||||
@ -14,4 +14,4 @@
|
|||||||
?FORMAT 2
|
?FORMAT 2
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#ZONE INTERFACE OPTIONS
|
#ZONE INTERFACE OPTIONS
|
||||||
net eth0 tcpflags
|
net NET_IF tcpflags,physical=eth0
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Shorewall6 version 4 - Sample Interfaces File for three-interface configuration.
|
# Shorewall6 - Sample Interfaces File for three-interface configuration.
|
||||||
# Copyright (C) 2006-2014by the Shorewall Team
|
# Copyright (C) 2006-2017 by the Shorewall Team
|
||||||
#
|
#
|
||||||
# This library is free software; you can redistribute it and/or
|
# This library is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU Lesser General Public
|
# modify it under the terms of the GNU Lesser General Public
|
||||||
@ -14,6 +14,6 @@
|
|||||||
?FORMAT 2
|
?FORMAT 2
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#ZONE INTERFACE OPTIONS
|
#ZONE INTERFACE OPTIONS
|
||||||
net eth0 tcpflags,forward=1,sourceroute=0
|
net NET_IF tcpflags,forward=1,sourceroute=0,physical=eth0
|
||||||
loc eth1 tcpflags,forward=1
|
loc LOC_IF tcpflags,forward=1,physical=eth1
|
||||||
dmz eth2 tcpflags,forward=1
|
dmz DMZ_IF tcpflags,forward=1,physical=eth2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Shorewall6 version 4.5 Sample Stoppedrules File for three-interface configuration.
|
# Shorewall6 - Sample Stoppedrules File for three-interface configuration.
|
||||||
# Copyright (C) 2012-2014 by the Shorewall Team
|
# Copyright (C) 2012-2017 by the Shorewall Team
|
||||||
#
|
#
|
||||||
# This library is free software; you can redistribute it and/or
|
# This library is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU Lesser General Public
|
# modify it under the terms of the GNU Lesser General Public
|
||||||
@ -13,8 +13,7 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
#ACTION SOURCE DEST PROTO DEST SOURCE
|
#ACTION SOURCE DEST PROTO DEST SOURCE
|
||||||
# PORT(S) PORT(S)
|
# PORT(S) PORT(S)
|
||||||
ACCEPT eth1 -
|
ACCEPT LOC_IF -
|
||||||
ACCEPT - eth1
|
ACCEPT - LOC_IF
|
||||||
ACCEPT eth2 -
|
ACCEPT DMZ_IF -
|
||||||
ACCEPT - eth2
|
ACCEPT - DMZ_IF
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Shorewall6 version 4.0 - Sample Interfaces File for two-interface configuration.
|
# Shorewall6 - Sample Interfaces File for two-interface configuration.
|
||||||
# Copyright (C) 2006-2014 by the Shorewall Team
|
# Copyright (C) 2006-2017 by the Shorewall Team
|
||||||
#
|
#
|
||||||
# This library is free software; you can redistribute it and/or
|
# This library is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU Lesser General Public
|
# modify it under the terms of the GNU Lesser General Public
|
||||||
@ -14,5 +14,5 @@
|
|||||||
?FORMAT 2
|
?FORMAT 2
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#ZONE INTERFACE OPTIONS
|
#ZONE INTERFACE OPTIONS
|
||||||
net eth0 tcpflags,forward=1,sourceroute=0
|
net NET_IF tcpflags,forward=1,sourceroute=0,physical=eth0
|
||||||
loc eth1 tcpflags,forward=1
|
loc LOC_IF tcpflags,forward=1,physical=eth1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Shorewall6 version 4.5 Sample Stoppedrules File for two-interface configuration.
|
# Shorewall6 - Sample Stoppedrules File for two-interface configuration.
|
||||||
# Copyright (C) 2012-2014 by the Shorewall Team
|
# Copyright (C) 2012-2017 by the Shorewall Team
|
||||||
#
|
#
|
||||||
# This library is free software; you can redistribute it and/or
|
# This library is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU Lesser General Public
|
# modify it under the terms of the GNU Lesser General Public
|
||||||
@ -13,5 +13,5 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
#ACTION SOURCE DEST PROTO DEST SOURCE
|
#ACTION SOURCE DEST PROTO DEST SOURCE
|
||||||
# PORT(S) PORT(S)
|
# PORT(S) PORT(S)
|
||||||
ACCEPT eth1 -
|
ACCEPT LOC_IF -
|
||||||
ACCEPT - eth1
|
ACCEPT - LOC_IF
|
||||||
|
Loading…
Reference in New Issue
Block a user