Setting up NAT on iptables
Recently, Xiaoyi installed Ubuntu 20.04 on a computer at home and used it as a soft router. But Xiaoyi found that the computer couldn’t connect to the internet! After using mtr to trace the route, we found that the route could not go beyond the Gateway. So we captured packets on the router and found that our internal IP was sent to the ISP, but there was no response. If the ISP hasn’t configured it properly, it can easily lead to IP Spoofing....