MLUG: Re: [MLUG] Firewall rules
Re: [MLUG] Firewall rules
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
> The Question is
> with kernel 2.4.18, and iptables version 1.2.6a
> how do you fix it where workstations behind linux
> can only connect to the web page ports, port 80 and what? 125?
> I have a friend that needs to know this info.

iptables -F FORWARD -t nat
iptables -A FORWARD -t nat -p tcp -dport 80 -j MASQ
iptables -A FORWARD -t nat -p tcp -dport 125 -j MASQ
iptables -A FORWARD -t nat -j REJECT

Thats probably not the right syntax, but the idea is the same.
 
-- 
Scott Hussey
EMAIL:PROTECTED
GnuPG public key: http://www.lcl.lib.mo.us/~scott/pubkey.gpg.txt
  "Give a man a blanket and he is warm for the night. Set him on fire
   and he'll never bother you again."
--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/