NAT Scenario
From Antcor
Contents |
NAT Scenarios
Prerequisite Steps
- Make the configuration of the above image.
- Setup HTTP Server
- Setup FTP Server
- Setup SIP Server
- From any PC of Private Subnet 192.168.5.x/24 you should be able to ping eth0 of AP Mode.
- Start Ikarus OS Manager and Insert AP in the Topology Map.
- Right click to the Access Point node of the network topology and choose from the arised list Advanced Network Configuration
- From the third row of tabs choose "NAT"
SNAT Configuration
- From the top frame next to label "NAT kind" choose "SNAT" and click to the button with the "+" sign.
- Fill the fields as below.
- Click the "submit" button and then the "tick" button to apply changes.
- Try to ping from any Server behind the switch to ath0 of AP Mode.
- Try to ping from any Server behind the switch to any HOST PC which is connected to AP Client Mode.
The connection is established although you can not ping from any HOST PC to any Server. In order to make this happen, we need the appropriate DNAT rule.
DNAT Configuration
- Right click to the Access Point node of the network topology and choose from the arised list Advanced Network Configuration
- From the third row of tabs choose "NAT"
- From the top frame next to label "NAT kind" choose "DNAT" and click to the button with the "+" sign.
- Fill the fields as below.
- Click the "submit" button and then the "tick" button to apply changes.
- Try to ping from any Host PC behind the switch to any Server.
The connection is established
For HTTP you should add another DNAT rule and specify in "Traslate Dest IP To" the ip of HTTP Server, Destination Port 80 and in "Translate Port To" 80-80.
For FTP you should add another DNAT rule and specify in "Traslate Dest IP To" the ip of FTP Server, Destination Port 22 and in "Translate Port To" 22-22.
For SIP you should add another DNAT rule and specify in "Traslate Dest IP To" the ip of SIP Server, Destination Port 5060 and in "Translate Port To" 5060-5060.



