[Sussex] IPTables - is this possible?

Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk
Wed Mar 21 23:19:21 UTC 2007


On Wed, 2007-03-21 at 21:45 +0000, Steve Dobbo Dobson wrote:
> Matt
> > Can anyone advise if this is possible?
> 
> Sounds it to me on the limited information given.

OK, basically there is a firewall in a location at which I often use my
laptop that blocks and closely monitors traffic that goes out over
anything except http/https/imap/pop3/smtp.

I want to set my server up at home so that it is running https, http,
ssh and a few other services (mail, database etc).  What I want to be
able to do is ssh to port 443 (the default for https) _AND_ be able to
access https sites via the same address.  The best example of this is as
follows:

The firewall has port 443 ready to accept inbound traffic
The server has https configured on port 443 and ssh on port 22
>From my laptop, I ssh to the firewall port 443 which recognises the
packet as ssh and forwards it to port 22 of the server.
I then open a mozilla session on my laptop and connect to port 443 of
the firewall which recognises the traffic as https and redirects to port
443 of the server.

I understand about natted traffic and the like, what I want to do is
have a number of services appearing to run on the same port.

Can it be done?

Matt.
-- 
Matthew Macdonald-Wallace
Group Co-Ordinator
Thanet Linux User Group
http://www.thanet.lug.org.uk/
matthew at truthisfreedom.org.uk
GPG KEY: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xFEA1BC16




More information about the Sussex mailing list