Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "verito verito" <edhju_21@hotmail.com>
To: netfilter@lists.netfilter.org
Subject: help me with firewall+drop by default
Date: Thu, 04 Mar 2004 20:24:18 -0500	[thread overview]
Message-ID: <BAY7-F58zId5qPkIv4d00040d1e@hotmail.com> (raw)




Firewall was  denied , Just for default I'm sending,  the (setting up)  that 
is  able to  access into the web , but  I can't access into the mail server 
(POP), and some web pages that requiered the  Ports (443,21,23,25,110), I 
hope. I will clear , if there is any question just replying me , Thanks
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
iptables -t nat -A PREROUTING -t tcp --dport 80 -j REDIRECT --to-port 8080
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
echo "1" > /proc/sys/net/ipv4/ip_forward
iptables -A INPUT -i eth0 -s 0/0 -d 0/0 -j ACCEPT
iptables -A -i lo -s 0/0 -d 0/0 -j ACCEPT
iptables -A FORWARD -i eth1 -o eth0 -m state --state ESTABLISHED,RELATED -j 
ACCEPT
iptables -A INPUT -i eth1 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT
iptables -A OUTPUT -j ACCEPT
https,correo,msn
USING REDHAT 8

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.latam.msn.com/



             reply	other threads:[~2004-03-05  1:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-05  1:24 verito verito [this message]
2004-03-05  1:37 ` help me with firewall+drop by default Antony Stone
  -- strict thread matches above, loose matches on Subject: below --
2004-03-05  2:33 verito verito
     [not found] <BAY7-F103tpgWtfb8tW0003bc47@hotmail.com>
2004-03-05  2:43 ` Antony Stone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY7-F58zId5qPkIv4d00040d1e@hotmail.com \
    --to=edhju_21@hotmail.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox