*** IPF Help Req ***
From: NoNameHere (recpharm_at_hotmail.com)
Date: 11/29/03
- Previous message: Daniel Rudy: "Re: dhcpd question"
- Next in thread: Philip Paeps: "Re: *** IPF Help Req ***"
- Reply: Philip Paeps: "Re: *** IPF Help Req ***"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Nov 2003 18:52:12 -0800
Firewall:
FreeBSD 5.1
xl0 - external NIC, DHCP
fxp0 - internal NIC, 192.168.1.254
I have 5 internal machines, each running SSH on port 22. I would like
to be able to SSH to every internal box.
Can I make the firewall accept an SSH connection on a high port (1022,
1023, 1024, 1025, 1026) and redirect it to port 22 on the appropriate
internal machine?
Here is my ipf.rule for each machine:
pass in quick on xl0 proto tcp from any to 192.168.1.10 port = 1022
flags S keep state keep frags
Here is my ipnat.rule for each machine:
rdr xl0 0.0.0.0/0 port 1022 -> 192.168.1.10 port 1022
The connection on port 1022 isn't working. What command am I missing?
- Previous message: Daniel Rudy: "Re: dhcpd question"
- Next in thread: Philip Paeps: "Re: *** IPF Help Req ***"
- Reply: Philip Paeps: "Re: *** IPF Help Req ***"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|