Article View: comp.os.linux.networking
Article #824Re: ipchains LAN ADSL smtp
From: Dean Thompson
Date: Sat, 19 May 2001 04:51
Date: Sat, 19 May 2001 04:51
33 lines
2968 bytes
2968 bytes
Hi!, > 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! You are going to have to use something like "redir" or "ipmasqadm" to forward traffic to that host. As it sits on your private network you are going to have to put the port redirection in place on your linux box with the eth0 address of 1.2.3.5. Take a look at how "redir" can take incoming packets and forward them to machines sitting behind the firewall on a private subnet. See ya Dean Thompson -- +____________________________+____________________________________________+ | Dean Thompson | E-mail - Dean.Thompson@csse.monash.edu.au | | Bach. Computing (Hons) | ICQ - 45191180 | | PhD Student | Office - <Off-Campus> | | School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) | | MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 | | Melbourne, Australia | | +----------------------------+--------------------------------------------+
Technical Details
Message-ID:
<3B05FBE7.7B5169F9@csse.monash.edu.au>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!harbinger.cc.monash.edu.au!towncrier.cc.monash.edu.au!not-for-mailReferences:
<9e3lnh$2san$1@scavenger.euro.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd6c,c2008b78ade0ace8 X-Google-Attributes: gidfcd6c,public X-Google-Thread: f922c,c2008b78ade0ace8 X-Google-Attributes: gidf922c,public X-Google-Thread: 10669a,c2008b78ade0ace8 X-Google-Attributes: gid10669a,public X-Google-Thread: f6161,c2008b78ade0ace8 X-Google-Attributes: gidf6161,public X-Google-Thread: 102510,c2008b78ade0ace8 X-Google-Attributes: gid102510,public X-Google-Thread: 106e9e,c2008b78ade0ace8 X-Google-Attributes: gid106e9e,public X-Google-ArrivalTime: 2001-05-18 21:52:13 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!harbinger.cc.monash.edu.au!towncrier.cc.monash.edu.au!not-for-mail From: Dean Thompson <Dean.Thompson@csse.monash.edu.au> 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: Re: ipchains LAN ADSL smtp Date: Sat, 19 May 2001 14:51:51 +1000 Organization: Monash Uni Lines: 33 Distribution: world Message-ID: <3B05FBE7.7B5169F9@csse.monash.edu.au> References: <9e3lnh$2san$1@scavenger.euro.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: towncrier.cc.monash.edu.au 990247931 13749 130.194.224.214 (19 May 2001 04:52:11 GMT) X-Complaints-To: abuse@monash.edu.au To: Jos Honig <jos@sallyforthrecords.com> X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en