Implement Network Address Translation

This commit is contained in:
Manuel Thalmann 2023-12-18 20:44:03 +01:00
parent 48c23e61ab
commit 279e6a6991
2 changed files with 56 additions and 2 deletions

BIN
Networks/Main.pkt (Stored with Git LFS)

Binary file not shown.

View file

@ -0,0 +1,54 @@
# Lab 07 - NAT Overload and Port Forwarding
## Configure Router
On Router `EE` configure:
```sh
enable
configure terminal
ip access-list extended NAT-ACL
permit ip 10.0.0.0 0.255.255.255 any
exit
ip nat pool NAT-POOL 1.0.0.1 1.0.0.1 netmask 255.0.0.0
interface fastEthernet0/0
ip nat inside
exit
interface fastEthernet0/1
ip nat outside
exit
ip nat inside source list NAT-ACL pool NAT-POOL overload
exit
exit
disable
exit
```
On Router `R1` and `R2`:
```sh
enable
configure terminal
ip route 0.0.0.0 0.0.0.0 10.123.0.3
exit
exit
disable
exit
```
## Implement Port Forwarding
On `EE` configure port forwarding:
```sh
enable
configure terminal
ip nat inside source static tcp 10.10.10.10 80 1.0.0.1 180
ip nat inside source static tcp 10.10.10.10 443 1.0.0.1 443
exit
exit
disable
exit
```