http not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok here is the scoop this is my firewall settings as of iptables-save on a
Slackware 9.0 machine acting as my routing for my home adsl to the rest of
my computers.  I have only 1 IP.

*filter
:INPUT ACCEPT [21883:1745300]
:FORWARD DROP [16:960]
:OUTPUT ACCEPT [5289:715941]
-A FORWARD -i ppp0 -o eth1 -p tcp -m tcp --dport 80 -j ACCEPT
-A FORWARD -i eth1 -o ppp0 -j ACCEPT
-A FORWARD -i ppp0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
COMMIT
# Completed on Wed Jun 18 11:38:49 2003
# Generated by iptables-save v1.2.7a on Wed Jun 18 11:38:49 2003

*nat
:PREROUTING DROP [0:0]
:POSTROUTING ACCEPT [9:830]
:OUTPUT ACCEPT [12:862]
-A PREROUTING -i ppp0 -p tcp --dport 80 -j DNAT --to 192.168.0.201:80
-A POSTROUTING -o ppp0 -j MASQUERADE

Basically I just to forward web server traffic to my internal webserver for
developement purposes.  I did a tcpdump on my webserver, it seems like the
requests are reaching the webserver but no go.  Here are the modules I have
loaded into the router.

ipt_state
iptable_filter
ipt_MASQUERADE
iptable_nat
ip_conntrack
ip_tables

Everything like internet and what not works, any suggestions.  I'm new to
iptables, thanks in advance.

Sincerely,

Jeremy Davis



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux