Mark A. Olbert wrote:
Tom,

Being a novice vis-à-vis shorewall, would you mind sharing what the equivalent 
rule and entry would be?


Assuming that eth0 is the 'net' interface:

In /etc/shorewall/nat:

206.124.146.177 eth0 192.168.1.44

Is equivalent to:

/etc/shorewall/rules:

DNAT-   net     loc:192.168.1.44    -   -       -       206.124.146.177

and

/etc/shorewall/masq:

eth0    192.168.1.44    206.124.146.177

In Shorewall 4.2, you can leave the 'loc:' out of the DNAT- rule.

-Tom
--
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to