I am attempting to translate an IPTABLES rule from another firewall into
shorewall. 
Can someone please show me how I need to enter this rule into the
/etc/shorewall/rules file?

# X-Windows forwarding 
iptables -A PREROUTING -t nat -s 128.x.x.x -d ${OUTSIDE_IP} -j DNAT --to
192.168.x.x
iptables -A FORWARD -d 192.168.x.x -o ${INSIDE_DEVICE} -j ACCEPT

This rule works. But I am not sure how to enter this with the proper syntax
into the Shorewall rules file.
Can someone please show me how the rule should be entered?

The 128.x.x.x is an external machine and the 192.168.x.x is an internal
machine.

The above rules looks to me like it is allowing all connections between
these two machines.

Thanks in advance.


Troy Aden


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to