Port forwarding from port 80 to port 8090 (assuming this traffic_router server is running at port 8090). Website referred: https://kerneltalks.com/networking/how-to-forward-port-using-iptables-in-linux/ STEP 1: ENABLE PORT FORWARDING IN LINUX NOTE: Network interface is taken as ens3. It may differ; identify exact value using command such as $ ifconfig. Check port forwarding status in two different approaches: Approach a: $ sudo sysctl -a | grep -i ens3.forwarding net.ipv4.conf.ens3.forwarding = 0 net.ipv6.conf.ens3.forwarding = 0 0 indicates port forwarding is NOT ENABLED Approach b: $ sudo cat /proc/sys/net/ipv4/conf/ens3/forwarding 0 To enable: $ sudo sysctl net.ipv4.conf.ens3.forwarding=1 STEP 2: FORWARD PORT IN LINUX Step 2a: $ sudo iptables -A PREROUTING -t nat -i ens3 -p tcp --dport 80 -j DNAT --to 165.22.215.207:8090 Step 2b: $ sudo iptables -A FORWARD -p tcp -d 165.22.215.207 --dport 8090 -j ACCEPT Step 2c: Check the update of NAT (Network Address Translation) table with the following command $ sudo iptables -L -n -v -t nat STEP 3: ENSURE ENTERIES AT /etc/hosts: 127.0.0.1 localhost 127.0.0.1 www.eastgate.test 127.0.0.1 nav.eastgate.test