Linux Netfilter discussions
 help / color / mirror / Atom feed
* HTTP Port forwarding issues
@ 2002-07-08 19:37 Big Daddy
  2002-07-08 19:44 ` Tom Eastep
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Big Daddy @ 2002-07-08 19:37 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 843 bytes --]

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!
Big D@ddy


[-- Attachment #2: Type: text/html, Size: 1274 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2002-07-09 14:15 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-08 19:37 HTTP Port forwarding issues Big Daddy
2002-07-08 19:44 ` Tom Eastep
2002-07-08 19:51   ` Big Daddy
2002-07-08 19:56     ` Tom Eastep
2002-07-08 19:57     ` Antony Stone
2002-07-08 20:03       ` Big Daddy
2002-07-08 20:07         ` Antony Stone
2002-07-08 20:11         ` Stewart Thompson
2002-07-08 20:39           ` Big Daddy
2002-07-08 20:42             ` Antony Stone
2002-07-08 19:49 ` Antony Stone
2002-07-08 19:50 ` Stewart Thompson
2002-07-08 20:00 ` Darrell Dieringer
2002-07-08 20:25 ` Nathan Cassano
2002-07-08 20:50   ` Antony Stone
2002-07-08 21:20     ` Adam D. Barratt
2002-07-08 21:35     ` Nathan Cassano
2002-07-09  9:52       ` Jan Humme
2002-07-09 14:15         ` tcp/udp ports (was: Re: HTTP Port forwarding issues) James Sneeringer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox