Results 1 to 2 of 2
I have linux iptables firewall on red hat 9.0 .
I have a linux apache server on a private ip 192.168.0.5.I need to access the server from outside via our ...
- 08-02-2006 #1Just Joined!
- Join Date
- Mar 2006
- Posts
- 30
allowing incoming http access-linux firewall
I have linux iptables firewall on red hat 9.0 .
I have a linux apache server on a private ip 192.168.0.5.I need to access the server from outside via our public ip.
i have given the following code.
WEB_SRV=192.168.0.5
#Incoming HTTP Requests:
iptables -t nat -A PREROUTING -i $EXTR -p tcp --dport 80 -j DNAT --to-destination $WEB_SRV:80
iptables -t nat -A PREROUTING -i $EXTR -p udp --dport 80 -j DNAT --to-destination $WEB_SRV:80
I ran the iptables with the above code ,but it dosen't output any error.
any inputs please
- 08-02-2006 #2Just Joined!
- Join Date
- Mar 2006
- Posts
- 30
EXTR=public ip


Reply With Quote