On 8/13/19 8:37 AM, Naveen Neelakanta wrote: > Hi Tom, > > I was trying to find out the different in the commands and the > consequence of reload vs restart . > Is there a command or log that can help me understand what goes on when > i reload vs restart . > > Trying to understand the commands that will be executed and what will > able to the iptables rule order in case of reload . > > This will help me a lot , since i was able to solve an issue with > connection by replacing clear and restart with just reload. ( i was > monitoring raw table did not clear , however nat table cleared ) > > So please provide more insight on this . >
The best way to see what the script is doing is to obtain a shell trace. /bin/sh -x /var/lib/shorewall/firewall <cmd> > <trace file> 2&>1 This assumes that /bin/sh is $SHOREWALL_SHELL (from shorewall.conf) and that /var/lib/shorewall is where the Shorewall persistent data is stored. -Tom -- Tom Eastep \ Q: What do you get when you cross a mobster with Shoreline, \ an international standard? Washington, USA \ A: Someone who makes you an offer you can't http://shorewall.org \ understand \_______________________________________________
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users