need help with iptables Port forwarding
From:Date: 09/30/01
- Previous message: Kurt Seifried: "Re: Firewall without network Stack (SUMMARY)"
- Next in thread: Clément Lasserre: "Re: need help with iptables Port forwarding"
- Reply: Clément Lasserre: "Re: need help with iptables Port forwarding"
- Reply: Brian Clifton: "Re: need help with iptables Port forwarding"
- Reply: Alejandro Flores: "Re: need help with iptables Port forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: <-delusion-@securityfocus.com> <delusi0n@bellsouth.net> To: <focus-linux@securityfocus.com> Subject: need help with iptables Port forwarding Date: Sun, 30 Sep 2001 04:41:44 +0000 Message-Id: <20010930083930.SOGF3572.imf16bis.bellsouth.net@there>
hi, i just set up ip masquerading, so im usign my linux box as my router. I
have an internal box running a service that i need to make available to the
outside. the port is 5500 and the internal ip of the box is 192.168.0.11,
heres what i tried:
# iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 5500 \
-j DNAT --to-dest 192.168.0.11
it goes through without any errors, but when i try to connect to the service
usign my external ip it says Host Refused connection. i also tried port
scanning for this port, and it doesnt find it. Please help me solve this ASAP.
Thank you in advance,
delusi0n
- Previous message: Kurt Seifried: "Re: Firewall without network Stack (SUMMARY)"
- Next in thread: Clément Lasserre: "Re: need help with iptables Port forwarding"
- Reply: Clément Lasserre: "Re: need help with iptables Port forwarding"
- Reply: Brian Clifton: "Re: need help with iptables Port forwarding"
- Reply: Alejandro Flores: "Re: need help with iptables Port forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|