It worked when I was using a Linksys router. However maybe they have changed it since then. Do my rules look fine?
----- Original Message ----- From: "Tom Eastep" <[EMAIL PROTECTED]> To: "Big Daddy" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 3:44 PM Subject: Re: HTTP Port forwarding issues > Big Daddy wrote: > > all, > > for some reason i can get my smtp and pop3 to route from > > the internet, but i cannot get http requests to forward correctly. > > > > iptables -A FORWARD -p tcp -i eth0 -d $int_ip -p tcp --dport http -m > > state --state NEW -j ACCEPT > > iptables -A FORWARD -p tcp -i eth0 -d $int_ip -p tcp --dport smtp -m > > state --state NEW -j ACCEPT (works) > > iptables -A FORWARD -p tcp -i eth0 -d $int_ip -p tcp --dport pop3 -m > > state --state NEW -j ACCEPT (works) > > > > iptables -t nat -A PREROUTING -d $ext_ip -p tcp --dport smtp -j DNAT > > --to-destination $int_smtp:25 (works) > > iptables -t nat -A PREROUTING -d $ext_ip -p tcp --dport pop3 -j DNAT > > --to-destination $int_pop3:110 (works) > > iptables -t nat -A PREROUTING -d $ext_ip -p tcp --dport http -j DNAT > > --to-destination $int_http:80 > > > > web server is running IIS5. > > any help would be great! > > More than likely your ISP is blocking incoming HTTP requests. > > -Tom > -- > Tom Eastep \ Shorewall - iptables made easy > AIM: tmeastep \ http://www.shorewall.net > ICQ: #60745924 \ [EMAIL PROTECTED] >
