From d853f28cdf54ee4f3791782d38f325cb4e5a8488 Mon Sep 17 00:00:00 2001 From: "bbruns@gmail.com" Date: Sat, 5 Apr 2014 22:40:09 +0000 Subject: [PATCH] --- etc/ipv4/forward.conf | 18 ++++++++++++++++++ etc/ipv6/forward.conf | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 etc/ipv4/forward.conf create mode 100644 etc/ipv6/forward.conf diff --git a/etc/ipv4/forward.conf b/etc/ipv4/forward.conf new file mode 100644 index 0000000..4690ccd --- /dev/null +++ b/etc/ipv4/forward.conf @@ -0,0 +1,18 @@ +# Forwarding Rules +# Use this file to set up network address translation rules +# Use tabs or single space to separate +# +# +# +# Action: Required ( ACCEPT | DROP ) +# Source Interface: Optional ( interface name, aka eth0 ) +# Source Address: Optional ( IP address with optional netmask ) +# Destination Interface: Optional ( interface name, aka eth0 ) +# Destination Address: Optional ( IP address with optional netmask ) +# Bidirectional: Optional ( yes | no, defaults to no if '-' ) +# You can use '-' for optional fields +#============================================================ +# +#ACCEPT eth0 - eth1 - yes +#DROP eth1 192.168.2.0/24 eth0 0/0 no + diff --git a/etc/ipv6/forward.conf b/etc/ipv6/forward.conf new file mode 100644 index 0000000..5f78809 --- /dev/null +++ b/etc/ipv6/forward.conf @@ -0,0 +1,18 @@ +# Forwarding Rules +# Use this file to set up network address translation rules +# Use tabs or single space to separate +# +# +# +# Action: Required ( ACCEPT | DROP ) +# Source Interface: Optional ( interface name, aka eth0 ) +# Source Address: Optional ( IP address with optional netmask ) +# Destination Interface: Optional ( interface name, aka eth0 ) +# Destination Address: Optional ( IP address with optional netmask ) +# Bidirectional: Optional ( yes | no, defaults to no if '-' ) +# You can use '-' for optional fields +#============================================================ +# +#ACCEPT eth0 - eth1 - yes +#DROP eth1 2002::/64 eth0 2001::/3 no +