Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TCP - Method used SSH server 
1)In Your client machine(LAN)you should have SSH installed
2)In router 'Add service' under Advanced > Port Forwarding
3)Select Common Service as SSH service and Service Type as TCP, then enter Server IPv4 Address where ssh server is installed, port is 22 and save.
4)Try ssh for lan client device using gateway ip address(erouter0 IP), we should able to access lan client through gateway ip using ssh service.

EX: ssh <username of lan client>@<erouter0 ip>
Password: <give lan client login password>
Able to access the Client PC

UDP - The Netcat (nc) command is a command-line utility for reading and writing data between two computer networks. The communication happens using either TCP or UDP
1)In Advance > Port Forwarding > Add Service, Common Service as other, Service Name as Netcat and Service Type as UDP, add lan clients's Server IPv4 Address 
2)In Your client machine(LAN)you have to run : nc -u -l 5000
3)From external WAN machine run nc -u 192.168.2.30 5000 (192.168.2.30 - router uplink ip address)
4)In your client machine(LAN)run https service(In browser https://www.google.com)
5)Goto to your external network(WAN), access server of client machine(Try sending some packets to wan client). Able to see incoming traffic on ports 5000.

...

WEBUI

Step 1: Login to webui, from navigation -> Advanced ->Port Forwarding. Click on Add Port Forwarding.

Image Modified


Testing Steps (TCP and UDP)

 TCP

 Router configure Trigger port 443:443 and Target port 21:21.

...

Image Removed

From External network(WAN) try to access ftp server of client machine(LAN client) using router uplink ip address(Goto terminal enter ftp -p 192.168.2.30 in WAN client),
while client machine(LAN)run https service(In browser https://www.google.com)

Image Added


UDP :    UDP :                   

Image Modified

In Your client machine(LAN)you have to run : nc -u -l 5000 
From external WAN machine run nc -u 192.168.2.30 5000, while client machine(LAN)run https service(In browser https://www.google.com)

...