diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2008-10-15 10:17:53 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2008-10-15 10:17:53 -0700 |
commit | b2ce7e136b620e8c870285d84a4796b1810b2191 (patch) | |
tree | 5c451bdbbf51b1e1dc7d7d84275cd4ad4c8327aa /templates/interfaces | |
parent | e93b9338389a4f8cf16f833ba56b7774394e3875 (diff) | |
download | vyatta-cfg-firewall-b2ce7e136b620e8c870285d84a4796b1810b2191.tar.gz vyatta-cfg-firewall-b2ce7e136b620e8c870285d84a4796b1810b2191.zip |
Bugfix: 3684
Add firewall configuration parameters for ADSL bridged ethernet encapsulation.
Diffstat (limited to 'templates/interfaces')
7 files changed, 58 insertions, 0 deletions
diff --git a/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/in/name/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/in/name/node.def new file mode 100644 index 0000000..871d2c4 --- /dev/null +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/in/name/node.def @@ -0,0 +1,18 @@ +type: txt + +help: Set inbound interface filter name + +create:expression: "sh -c \"echo create if=[$VAR(../../../../../@)] dir=[$VAR(..)] name=[$VAR(@)] \ +>> /tmp/cli.log && \ +sudo /opt/vyatta/sbin/vyatta-firewall.pl \ +--update-interfaces update $VAR(../../../../../@) $VAR(..) $VAR(@)\" " + +update:expression: "sh -c \"echo update if=[$VAR(../../../../../@)] dir=[$VAR(..)] name=[$VAR(@)] \ +>> /tmp/cli.log && \ +sudo /opt/vyatta/sbin/vyatta-firewall.pl \ +--update-interfaces update $VAR(../../../../../@) $VAR(..) $VAR(@)\" " + +delete:expression: "sh -c \"echo delete if=[$VAR(../../../../../@)] dir=[$VAR(..)] name=[$VAR(@)] \ +>> /tmp/cli.log && \ +sudo /opt/vyatta/sbin/vyatta-firewall.pl \ +--update-interfaces delete $VAR(../../../../../@) $VAR(..) $VAR(@)\" " diff --git a/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/in/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/in/node.def new file mode 100644 index 0000000..eccc79b --- /dev/null +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/in/node.def @@ -0,0 +1 @@ +help: Set filter for forwarded packets on inbound interface diff --git a/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/local/name/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/local/name/node.def new file mode 100644 index 0000000..9a025ec --- /dev/null +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/local/name/node.def @@ -0,0 +1,18 @@ +type: txt + +help: Set local filter name + +create:expression: "sh -c \"echo create if=[$VAR(../../../../../@)] dir=[$VAR(..)] name=[$VAR(@)] \ +>> /tmp/cli.log && \ +sudo /opt/vyatta/sbin/vyatta-firewall.pl \ +--update-interfaces update $VAR(../../../../../@) $VAR(..) $VAR(@)\" " + +update:expression: "sh -c \"echo update if=[$VAR(../../../../../@)] dir=[$VAR(..)] name=[$VAR(@)] \ +>> /tmp/cli.log && \ +sudo /opt/vyatta/sbin/vyatta-firewall.pl \ +--update-interfaces update $VAR(../../../../../@) $VAR(..) $VAR(@)\" " + +delete:expression: "sh -c \"echo delete if=[$VAR(../../../../../@)] dir=[$VAR(..)] name=[$VAR(@)] \ +>> /tmp/cli.log && \ +sudo /opt/vyatta/sbin/vyatta-firewall.pl \ +--update-interfaces delete $VAR(../../../../../@) $VAR(..) $VAR(@)\" " diff --git a/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/local/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/local/node.def new file mode 100644 index 0000000..2595835 --- /dev/null +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/local/node.def @@ -0,0 +1 @@ +help: Set filter for packets destined for this router diff --git a/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/node.def new file mode 100644 index 0000000..11748d2 --- /dev/null +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/node.def @@ -0,0 +1 @@ +help: Set firewall options diff --git a/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/out/name/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/out/name/node.def new file mode 100644 index 0000000..e1a82da --- /dev/null +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/out/name/node.def @@ -0,0 +1,18 @@ +type: txt + +help: Set outbound interface filter name + +create:expression: "sh -c \"echo create if=[$VAR(../../../../../@)] dir=[$VAR(..)] name=[$VAR(@)] \ +>> /tmp/cli.log && \ +sudo /opt/vyatta/sbin/vyatta-firewall.pl \ +--update-interfaces update $VAR(../../../../../@) $VAR(..) $VAR(@)\" " + +update:expression: "sh -c \"echo update if=[$VAR(../../../../../@)] dir=[$VAR(..)] name=[$VAR(@)] \ +>> /tmp/cli.log && \ +sudo /opt/vyatta/sbin/vyatta-firewall.pl \ +--update-interfaces update $VAR(../../../../../@) $VAR(..) $VAR(@)\" " + +delete:expression: "sh -c \"echo delete if=[$VAR(../../../../../@)] dir=[$VAR(..)] name=[$VAR(@)] \ +>> /tmp/cli.log && \ +sudo /opt/vyatta/sbin/vyatta-firewall.pl \ +--update-interfaces delete $VAR(../../../../../@) $VAR(..) $VAR(@)\" " diff --git a/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/out/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/out/node.def new file mode 100644 index 0000000..3aec5f0 --- /dev/null +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/bridged-ethernet/firewall/out/node.def @@ -0,0 +1 @@ +help: Set filter for forwarded packets on outbound interface |