Creating IPTABLES rule in NAT table using GUI Home Page › Forums › Network Management › ZeroShell › Creating IPTABLES rule in NAT table using GUI This topic contains 2 replies, has 0 voices, and was last updated by teklimbu 7 years, 5 months ago. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts January 24, 2012 at 7:24 pm #43250 teklimbuMember Hi all, I have Zeroshell running in Bridge mode for QoS. I need to create the following IPTABLES rule in Zeroshell: iptables -t nat -I PREROUTING -p TCP -s 192.168.0.0/24 -d 0.0.0.0/0 –dport 80 -j DNAT –to 172.16.1.1:3128 How do I create this rule from the GUI? Thanks, Tek January 24, 2012 at 9:03 pm #52158 athelingMember If you click on “router” on the left navigation area then on “virtual servers” along the tabs of that page I think you’ll get to the place for adding/changing that type of entry. January 24, 2012 at 10:27 pm #52159 redfiveParticipant If you want using the GUI, you should change the default behavior of ZS , take a look here http://www.zeroshell.net/eng/forum/viewtopic.php?t=2816&highlight= otherwise , you can ever add your rule in post-boot… cheers jonatha January 28, 2012 at 1:44 pm #52160 mgibbonsMember To be honest apart from the simplest Masqueraing and virtual server rules which can be setup in the GUI we tend to put everything in the NAT startup scripts section. Then you can enter anything you want in standard IPTABLES notation just as on any other Linux box. Its nice to use the GUI/WEBUI but sometimes its just better to have it as you want it in the scripts section. KR’s Mark Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic.