Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2002 15:00:20 -0400 (EDT)
From:      "Mike" <root@unixhideout.com>
To:        <freebsd-questions@freebsd.org>
Subject:   IPFW question.
Message-ID:  <1146.192.168.1.10.1028660420.squirrel@email.unixhideout.com>

next in thread | raw e-mail | index | archive | help
I have a network that goes something like this.


                      static ip addy.  192.*10   192.*20   192.*30 192.*40
192.*50
(INTERNET)==firewallrouter=-server1=-server2=-client=-client=-client
                                           FBSD4.6   FBSD4.6    XP      
XP        XP
                                            IPFW


Server one and server 2 are FreeBSD4.6-STABLE, all the clients, (desktops)
are windows XP (Sorry FreeBSD is about as far from a desktop as i am a
good schematic writer.. Although i do occasionally startX, FreeBSD can
stick with gnome gnibbles and hangman when it comes to games. When im
doing my hardcore gaming, its XP all the way.)

server1 is unixhideout.com and it runs just about everything. server2 is a
backup server. Its only purpose is to connect to server1 using cvsup, and
backup and archive important directories for me in case of a *gasp*
FreeBSD crash?!? (always expect the worst before it happens right?) My
question is this. I want to allow free shells for my site so users can
compile and test code. I do not want to give shells on my webserver. I
want to use IPFW divert, which "server1" has installed, to have any ssh
traffic be directed to server2 instead of server1. Now heres the problem
as i see it. How do i open two port 22 ports, in my router? The only other
solution as i see it is to get another static ip, and use my second
router, which is in a closet currently, or, simply enable TELNET on server
2. and port forward that.. But even then i would like it to have its own
webpage , then they can test their own CGI/PERL and PHP scripts, so i
would simply run into the same problem with port 80. Any ideas or input
would be great.


-----------------------------------------
Free email that kicks ass from UnixHideout
   "The UnixHideout network"
http://www.unixhideout.com/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1146.192.168.1.10.1028660420.squirrel>