Unable to ping to outside network from behind a Linux router
- by Supratik
Hi
My system is behind a Linux firewall, where eth0 is connected to internet and eth1 is connected to my LAN. The issue is I am not able to ping to outside my network.
The iptables rule I have used here as below.
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -p icmp -j SNAT --to-source $PUBLICIP
Please correct me if I am doing anything wrong here.
Warm Regards
Supratik