Ubuntu 18.04. I have been given a requirement to use Ubuntu as a simple router.
The Ubuntu box has 2 interfaces - ens33 DHCP, ens38 192.168.10.1/24. 33 is outside, 38 is inside for my purposes. There are a couple of networks behind this box - 192.168.10.x and 192.168.20.x. From any of these networks, I can ping both the interfaces on the ubuntu box. I cannot ping out past the external interface (33).
I have edited /etc/sysctl.conf to allow ipv4 forwarding - net.ipv4.ip_forward=1.
I have added a route to show gateway to other network 192.168.20.x via 38.
Not looking to nat, just route.
Anyone see what I'm missing? Let me know if more information is needed.
Doug