Marcus Limosani wrote:

>  
> Thanks again for your quick responses and advice

My first advice is to please reconfigure your email client so that it
folds each line at 72-78 columns. Each of your paragraphs is one long
line which makes quoting very painful.

Next, be sure you have Shorewall-perl installed and uninstall
Shorewall-shell if you have it.

Next, start with the two-interface sample config (see
http://www.shorewall.net/two-interface.htm) with ppp0 as the external
interface and eth1 as the internal. Follow the instructions you find at
that URL.

TEST IT -- be sure that all of your local systems can access the
internet. Your servers won't yet be visible on the net.

Next add two lines to /etc/shorewall/nat:

#EXTERNAL       INTERFACE       INTERNAL        ALL             LOCAL
#                                               INTERFACES
203.35.162.41   ppp0            192.168.0.2
203.25.162.42   ppp0            192.168.0.5

In /etc/shorewall/rules:

ACCEPT  net     loc:192.168.0.2 tcp     80,25,...
ACCEPT  net     loc:192.168.0.5 tcp     80,443

Plus whatever other rules you need and restart Shorewall.

That's it.

Now -- if it doesn't work, collect that I asked for in my last message
or we will be back at this same point again.

-Tom
-- 
Tom Eastep        \ The ultimate result of shielding men from the
Shoreline,         \ effects of folly is to fill the world with fools.
Washington, USA     \                                 -Herbert Spencer
http://shorewall.net \________________________________________________

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