IPsec Firewall: Difference between revisions
Appearance
Content deleted Content added
mNo edit summary |
lang=xml |
||
| Line 5: | Line 5: | ||
Example: |
Example: |
||
<syntaxhighlight> |
<syntaxhighlight lang=xml> |
||
<rule-set name="IPsec" source-interface="pppoe" target-interface="self" no-match-action="continue" comment="Non-NATed IPsec connections from PPP to the Brick"> |
<rule-set name="IPsec" source-interface="pppoe" target-interface="self" no-match-action="continue" comment="Non-NATed IPsec connections from PPP to the Brick"> |
||
<rule name="IKE" target-port="500" protocol="17" action="accept" comment="Internet Key Exchange"/> |
<rule name="IKE" target-port="500" protocol="17" action="accept" comment="Internet Key Exchange"/> |
||
| Line 22: | Line 22: | ||
Example: |
Example: |
||
<syntaxhighlight> |
<syntaxhighlight lang=xml> |
||
<rule-set name="IPsec" source-interface="pppoe" target-interface="self" no-match-action="continue" comment="Allow NATed IPsec connections from PPP to the Brick"> |
<rule-set name="IPsec" source-interface="pppoe" target-interface="self" no-match-action="continue" comment="Allow NATed IPsec connections from PPP to the Brick"> |
||
<rule name="IKE" target-port="500 4500" protocol="17" action="accept" comment="Internet Key Exchange"/> |
<rule name="IKE" target-port="500 4500" protocol="17" action="accept" comment="Internet Key Exchange"/> |
||
| Line 31: | Line 31: | ||
Example: |
Example: |
||
<syntaxhighlight> |
<syntaxhighlight lang=xml> |
||
<rule-set name="IPsec" source-interface="pppoe" target-interface="self" no-match-action="continue" comment="Allow NATed and Non-NATed IPsec connections from PPP to the Brick"> |
<rule-set name="IPsec" source-interface="pppoe" target-interface="self" no-match-action="continue" comment="Allow NATed and Non-NATed IPsec connections from PPP to the Brick"> |
||
<rule name="IKE" target-port="500 4500" protocol="17" action="accept" comment="Internet Key Exchange"/> |
<rule name="IKE" target-port="500 4500" protocol="17" action="accept" comment="Internet Key Exchange"/> |
||