From: Paul <gabaod@yahoo.com>
To: Eric Marchionni <mailing-lists@gmx.ch>, netfilter@lists.netfilter.org
Subject: Re: portforwarding
Date: Mon, 5 May 2003 16:58:41 -0700 (PDT) [thread overview]
Message-ID: <20030505235841.81529.qmail@web13502.mail.yahoo.com> (raw)
In-Reply-To: <3EB6F495.7090900@gmx.ch>
well make sure apache is first installed correctly and
loads up just fine.. Try doing an apache -S to make
sure it loads fine
secondly theres 2 things needing to be done
first need to forward the port
iptables -t nat -A PREROUTING -d externalip -p tcp
--dport 80 -j DNAT --to webserverip:80
and also make sure the port you want is opened in your
FORWARD as well
iptables -A FORWARD -p tcp --dport 80 -j ACCEPT
will prob have to change around those cmds a lil bit
to suit your needs, but hopefully that gets you on the
right track.
-paul
--- Eric Marchionni <mailing-lists@gmx.ch> wrote:
> hi list
>
> my buddie is trying to get his webserver working
> behind his
> debian router.
> this is what i gave him (we tried once with --dport
> and once with
> --dports):
>
> iptables -t nat -A PREROUTING -i $WAN_IFACE -p tcp
> -m multiport
> --dports 22,80 -j DNAT --to-destination $SERVER
>
> i'm not able to connect to his webserver with
> http://his_ip/
> what am i doing false? got any ideas?
>
> thanx
> eric
>
>
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
prev parent reply other threads:[~2003-05-05 23:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-05 23:32 portforwarding Eric Marchionni
2003-05-05 23:58 ` Paul [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030505235841.81529.qmail@web13502.mail.yahoo.com \
--to=gabaod@yahoo.com \
--cc=mailing-lists@gmx.ch \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox