FireBrick 2700 Configuration: Difference between revisions
Appearance
Content deleted Content added
CrazyTeeka (talk | contribs) mNo edit summary |
CrazyTeeka (talk | contribs) mNo edit summary |
||
| Line 367: | Line 367: | ||
<syntaxhighlight> |
<syntaxhighlight> |
||
<ppp name="AAISP" port="WAN" username="me@a.1" password="secret" nat="false" graph="AAISP" log="default"/> |
<ppp name="AAISP" port="WAN" username="me@a.1" password="secret" nat="false" graph="AAISP" log="default"/> |
||
</syntaxhighlight> |
|||
=NAT on a Single Port= |
|||
It is possible to have NAT on a single port, for example port 2, while ports 1 and 3 are without NAT. |
|||
==Ports with NAT only on Port 2:== |
|||
<syntaxhighlight> |
|||
<port name="LAN" ports="1 3"/> |
|||
<port name="LAN-NAT" ports="2"/> |
|||
<port name="WAN" ports="4"/> |
|||
</syntaxhighlight> |
|||
==LAN Interface(s):== |
|||
<syntaxhighlight> |
|||
<interface name="LAN" port="LAN" ra-client="false"> |
|||
<subnet ip="1.1.1.1/24 2001:8b0::1/64"/> |
|||
<dhcp name="DHCP" ip="1.1.1.1-8" lease="1:00:00"/> |
|||
</interface> |
|||
<interface name="LAN-NAT" port="LAN-NAT" ra-client="false"> |
|||
<subnet ip="10.0.0.1/24" nat="true"/> |
|||
<dhcp name="DHCP" ip="10.0.0.1-254" lease="1:00:00"/> |
|||
</interface> |
|||
<interface name="WAN" port="WAN" ra-client="false"/> |
|||
</syntaxhighlight> |
</syntaxhighlight> |
||