Cisco ASA NAT: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 2: | Zeile 2: | ||
*ciscoasa(config)# object network obj-lan | *ciscoasa(config)# object network obj-lan | ||
*ciscoasa(config-network-object)# subnet 172.18.122.0 255.255.255.0 | *ciscoasa(config-network-object)# subnet 172.18.122.0 255.255.255.0 | ||
| − | *ciscoasa(config-network-object)# nat (if-inside,if-outside) | + | *ciscoasa(config-network-object)# nat (if-inside,if-outside) static interface service tcp www www |
| + | |||
=Nat auf einen Rechner im Lan (Regular Static NAT)= | =Nat auf einen Rechner im Lan (Regular Static NAT)= | ||
*ciscoasa(config)# object network obj-webserver | *ciscoasa(config)# object network obj-webserver | ||
Version vom 11. Februar 2016, 11:45 Uhr
Maskieren auf ausgehende Interface (Regular Dynamic PAT)
- ciscoasa(config)# object network obj-lan
- ciscoasa(config-network-object)# subnet 172.18.122.0 255.255.255.0
- ciscoasa(config-network-object)# nat (if-inside,if-outside) static interface service tcp www www
Nat auf einen Rechner im Lan (Regular Static NAT)
- ciscoasa(config)# object network obj-webserver
- ciscoasa(config-network-object)# host 172.18.122.101
- ciscoasa(config-network-object)# nat (if-inside,if-outside) static interface tcp www www
- ciscoasa(config)# access-list acl-outside extended permit tcp any object obj-www eq www
- ciscoasa(config)# access-group acl-outside in interface if-outside