I have a server and a firewall in a cloud environment, the details are as follows,
with the following details for each component,
As this is based in the cloud, I do not have any control of the default gateway and cannot make any changes to it. I would like to route external traffic through the firewall by setting the default gateway on the server as the firewall’s IP. I did this by running the following command,
ip route add default via 192.168.232.3
I have confirmed this has worked by running the following commands,
route ip route get 220.127.116.11
The results are as follows,
However, when I initiate traffic from 192.168.232.6 to an external host, I do not see the traffic hitting the firewall. There is no firewall/network rules in between the firewall and the server.
I have checked my arp table and it is as you would expect,
When I run the following command and run a packet capture,
telnet 18.104.22.168 8089
I get the following results,
The packets are leaving the server and heading towards the firewalls MAC, but I do not see the packets arrive (I have run a packet capture on the firewall and nothing)
Why Would this be? What can I investigate further from the host ?