🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.networking
Article #823

ipchains LAN ADSL smtp

#823
From: Jos Honig
Date: Fri, 18 May 2001 17:23
34 lines
2692 bytes
                INTERNET
                   |
                   |
             |---------------|
             |  ADSL ROUTER  |(1.2.3.4)
             -----------------
                   |
                   | eth0 (1.2.3.5)
                -----------|
               |           |eth1 (172.18.128.254)
               |Linux box  |-----------------------------
               |           |       |                 |
               |-----------|       |                 |
                                   |                 |
                              |--------------|  ----------------
                              |SMTP/POP3     |  |WWW           |
                              |(172.18.128.2)|  |(172.18.128.3)|
                              |--------------|  |--------------|



IPCHAINS!

I have now:
ipchains -A forward -j MASQ -s 172.18.128.0/24 -d 0.0.0.0/0

so I can connect the internet from my local network!
but now I want the use my smtp/POP3 server from the internet.

Who can help me with the commands?
I try to search the internet and found 100 solutions but none is working!

Jos Honig
jos@feka.nl
Technical Details
Message-ID: <9e3lnh$2san$1@scavenger.euro.net>
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!news2.euro.net!news.euronet.nl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f922c,c2008b78ade0ace8,start
X-Google-Attributes: gidf922c,public
X-Google-Thread: fcd6c,c2008b78ade0ace8,start
X-Google-Attributes: gidfcd6c,public
X-Google-Thread: 102510,c2008b78ade0ace8,start
X-Google-Attributes: gid102510,public
X-Google-Thread: 106e9e,c2008b78ade0ace8,start
X-Google-Attributes: gid106e9e,public
X-Google-Thread: 10669a,c2008b78ade0ace8,start
X-Google-Attributes: gid10669a,public
X-Google-Thread: f6161,c2008b78ade0ace8,start
X-Google-Attributes: gidf6161,public
X-Google-ArrivalTime: 2001-05-18 10:21:55 PST
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!news2.euro.net!news.euronet.nl!not-for-mail
From: "Jos Honig" <jos@sallyforthrecords.com>
Newsgroups: comp.os.linux.networking,comp.os.linux.security,comp.security.firewalls,han.comp.os.linux.networking,linux.redhat.install,nl.comp.os.linux.netwerken
Subject: ipchains LAN ADSL smtp
Date: Fri, 18 May 2001 19:23:51 +0200
Organization: EuroNet Internet
Lines: 37
Message-ID: <9e3lnh$2san$1@scavenger.euro.net>
NNTP-Posting-Host: p1608.asi.euronet.nl
X-Trace: scavenger.euro.net 990206514 94551 194.134.8.152 (18 May 2001 17:21:54 GMT)
X-Complaints-To: abuse@euronet.nl
NNTP-Posting-Date: Fri, 18 May 2001 17:21:54 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700