From: "Alex Samad" <Alex@Samad.com.au>
To: 'Andrew Schulman' <andrex@alumni.utexas.net>,
netfilter@lists.netfilter.org
Subject: RE: Is this possible?
Date: Tue, 15 Feb 2005 15:25:38 +1100 [thread overview]
Message-ID: <778233409EC.AAA7324@weasel.optus.com.au> (raw)
In-Reply-To: <MPG.1c7aa1bb6cf712669896c1@localhost>
If your firewall is using a proxy to allow this access, most default to
allow 563 nntps as well, run your ssh server on that port
Alex
-----Original Message-----
From: netfilter-bounces@lists.netfilter.org
[mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of Andrew Schulman
Sent: Tuesday, 15 February 2005 3:54 AM
To: netfilter@lists.netfilter.org
Subject: Re: Is this possible?
> I have a issue where I cannot connect to my server because the
firewall
> only allows ports 80 and 443 out.
>
> I previously ran SSH on port 443 to overcome this, but I have had to
> implement a HTTPS solution for users who wanted secure access, so that
> is now gone.
>
> This system has DNS records for ssh.server.co.uk and www.server.co.uk,
> so can I use IPTables or similar to recognise if it is being connected
> to via ssh.server.co.uk on port 443 and forward the traffic to port 22?
> If www.server.co.uk:443 is used apache gets the traffic? Or is this (As
> I suspect) Impossible?
I don't think that's possible, because the address resolution happens on
the client side. Both names are resolved to your one IP address before
you ever see any packets.
One option would be to get a second IP address. Another would be to get
the client admins to open an outgoing port in their firewall, as Jose
suggests.
A third possibility would be to direct both sets of traffic to port 443,
and use application-level filtering to distinguish them. See for
example
http://l7-filter.sourceforge.net/. I see that they have a pattern for
recognizing SSH, that's supposed to work well. They don't have one for
HTTPS, but you could either assume that as the default for non-SSH
traffic, or maybe write your own pattern.
Good luck,
Andrew.
next prev parent reply other threads:[~2005-02-15 4:25 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-11 16:06 Is this possible? Michael Thompson
2005-02-13 12:18 ` Jose Maria Lopez Hernandez
2005-02-14 16:54 ` Andrew Schulman
2005-02-15 4:25 ` Alex Samad [this message]
2005-02-15 6:20 ` Michael Thompson
[not found] <65aa6af90505021204715af788@mail.gmail.com>
2005-05-02 19:17 ` Edmundo Carmona
2005-05-02 19:34 ` Guy
-- strict thread matches above, loose matches on Subject: below --
2004-04-27 9:57 T. Horsnell (tsh)
2004-04-26 10:03 Fisher Alex
2004-04-22 13:08 Fisher Alex
2004-04-22 12:36 Fisher Alex
2004-04-22 13:03 ` Antony Stone
2004-04-22 11:30 Fisher Alex
2004-04-22 11:45 ` Kiran Kumar
2004-04-22 12:12 ` Antony Stone
2004-04-22 12:24 ` David Cannings
2004-04-22 12:44 ` Antony Stone
2004-04-23 8:49 ` T. Horsnell (tsh)
2004-04-10 20:27 is this possible ? Syed Faisal Gillani
2004-04-10 20:54 ` Frederic de Villamil
2004-04-10 20:14 Admin
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=778233409EC.AAA7324@weasel.optus.com.au \
--to=alex@samad.com.au \
--cc=andrex@alumni.utexas.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.