From: Sascha Hlusiak <saschahlusiak@arcor.de>
To: gentoo-user@lists.gentoo.org
Cc: Steve <gentoo_sjh@shic.co.uk>
Subject: Re: [gentoo-user] A networking question...
Date: Tue, 5 May 2009 23:23:52 +0200 [thread overview]
Message-ID: <200905052324.07892.saschahlusiak@arcor.de> (raw)
In-Reply-To: <4A00A266.9070102@shic.co.uk>
[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]
Am Dienstag 05 Mai 2009 22:32:38 schrieb Steve:
> I've a gentoo box sat behind a firewall - it runs a apache and sshd with
> holes punched through NAT to allow remote access. It runs DHCP and DNS
> services for my LAN.
>
> I would like to run a second instance of apache on a fresh IP address -
> to simulate a hosted environment supporting https. I need to be able to
> access my second apache locally by URL on my LAN (which I can map
> however I chose using my DNS config.) I also need to be able to access
> this second apache from a remote site (assume gentoo again, for
> simplicity) over an SSL tunnel - even if the remote server already runs
> apache doing something else again. It isn't acceptable for the second
> apache to be accessible publicly.
The easiest thing would probably be to just use ssh port forwarding because
you already have all the pieces running anyway. Wouldn't a simple
ssh -L 12345:secondapache:https user@remotessh
and the browsing to https://localhost:12345 do the trick? Or you could use a
pppd over ssh vpn, yes, but that is a bit more complex.
- Sascha
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2009-05-05 21:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-05 20:32 [gentoo-user] A networking question Steve
2009-05-05 21:23 ` Sascha Hlusiak [this message]
2009-05-05 21:28 ` Steve
2009-05-05 21:51 ` Sascha Hlusiak
2009-05-05 22:07 ` Mick
2009-05-06 0:24 ` Mike Kazantsev
2009-05-06 7:54 ` Neil Bothwick
2009-05-06 10:09 ` Anthony Metcalf
2009-05-06 10:42 ` Neil Bothwick
2009-05-06 12:08 ` Anthony Metcalf
2009-05-07 18:38 ` Steve
2009-05-07 22:34 ` Mick
2009-05-08 12:38 ` Steve
2009-05-08 14:43 ` Mick
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=200905052324.07892.saschahlusiak@arcor.de \
--to=saschahlusiak@arcor.de \
--cc=gentoo-user@lists.gentoo.org \
--cc=gentoo_sjh@shic.co.uk \
/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