Try: DNAT net loc:192.168.1.200:22 tcp 333
On Tue, Mar 02, 2004 at 03:18:38PM -0600, Karl Schmidt wrote: > I've just moved a fire wall from Dachstein to Bering and have everything > working except one thing. > > Before there was a set up where if I would: > > ssh -P333 firewall.domain.com > > The firewall would pass that on to a private server using port 22. > > Thus, if you wanted to ssh to the fire wall you would just: > > ssh firewall.domain.com > > and if I wanted to ssh to the internal server I would add -p333 to the > command string. > > Rules: > > ACCEPT fw loc tcp 37 > DNAT net loc:192.168.1.200 tcp 333 22 > DNAT net loc:192.168.1.200 tcp smtp > > > Policy: > > loc net ACCEPT > # If you want open access to the Internet from your Firewall > # remove the comment from the following line. > fw net ACCEPT > #net fw ACCEPT ULOG > net all DROP ULOG > all all REJECT ULOG > > > > -- > -------------------------------------------------- > Karl Schmidt EMail [EMAIL PROTECTED] > Transtronics, Inc. WEB http://xtronics.com > 3209 West 9th Street Ph(785) 841-3089 > Lawrence, KS 66049 FAX(785) 841-0434 > > He's about a quarter turn past hand tight. > ------------------------------------------------- > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > ------------------------------------------------------------------------ > leaf-user mailing list: [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-user > SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html > -- Lee Kimber Techworld Technical Writer http://www.techworld.com/ Tel: (206) 632 7649 Track what Linux users are saying about Microsoft http://www.kimberconsulting.com/linux_news.htm ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
