On 04/27/2010 09:34 AM, Orlandinei Vujanski wrote:
> How do in Shorewall?
> 
> 
> iptables -t nat -A PREROUTING-d 200.200.10.10 -p tcp - dport 2181 -j
> DNAT - to 10.101.71: 2180
> iptables -A FORWARD -d 10.101.7.1 -p tcp -dport 2180 - syn -j ACCEPT

/etc/shorewall/rules:

DNAT  net    loc:10.101.7.1:2180   tcp   2181    -   200.200.10.10

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to