[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Firewalling and NAT (ipf, ipnat)



I think you want this:

rdr xl1 0.0.0.0/0 port 23 -> 10.1.50.50 port 23



Chris Nikolopoulos wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> More specific, I have configure the two files (ipf.rules,
> ipnat.rules)and I have done also the modifications on the rc.conf and
> sysctl.conf.
> 
> An example line of the ipnat.rules file goes like this...
> rdr xl1 xxx.xxx.xxx/32 port 23 -> 10.1.50.50/32 port 23 (where xxx is
> one of the ip's I own)
> 
> - -----Original Message-----
> From: Michael R. Jinks [mailto:mjinks@saecos.com]
> Sent: Thursday, January 04, 2001 8:05 PM
> To: Chris Nikolopoulos
> Cc: 'misc@openbsd.org'
> Subject: Re: Firewalling and NAT (ipf, ipnat)
> 
> Be more specific.  Which commands are you using for the NAT rules?
> 
> BTW, if possible, please don't use telnet or ftp over the open
> Internet,
> they are dangerously insecure, especially telnet.  SSH is more
> flexible
> anyway, and is available for just about any modern OS.
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
> 
> iQA/AwUBOlSebfRXT16qE36AEQI+uwCgzAQ7ND8Rb9OUu21xTYW4JuJNRA4AoJzR
> MIxgsJWTMEqJdz90CWm3m9VU
> =b3la
> -----END PGP SIGNATURE-----

-- 
Michael Jinks, IB // Technical Entity // Saecos Corporation
"No one speaks English and everything's broken."  -- T. Waits
"Tom Waits would have made a decent sysadmin."  -- M. Jinks