Commit b76e9ffc authored by Theo Maillart's avatar Theo Maillart

PAT ok

parent d1ba8e0e
......@@ -31,6 +31,7 @@ int vlan 83
ip address 10.0.83.1 255.255.255.0
!! conf physic port
conf t
int fastethernet0
switchport mode trunk
switchport trunk encapsulation dot1q
......@@ -39,6 +40,7 @@ switchport trunk native vlan 81
end
!! conf physic port for wifi
conf t
int FastEthernet1
switchport mode trunk
switchport trunk encapsulation dot1q
......@@ -87,7 +89,9 @@ ip access-group 104 in
!!!!!!!! PAT & NAT adaptation
! PAT
ip nat inside source static tcp 10.0.83.1 3128 10.0.82.3 80
! need vlan83 outside & vlan82 inside
ip nat inside source static tcp 10.0.82.3 80 10.0.83.1 3128
! modify 101 rule
access-list 101 permit icmp 10.0.83.0 0.0.0.255 any echo
access-list 101 permit tcp any any eq 80
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment