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

Re: ipf/nat redirection problems



--fzzzt <fzzzty_(_at_)_yahoo_(_dot_)_com> [010605 10:48]:
> I'm trying to make a firewall computer that controls access to a
> database server we have. I want to redirect all telnet connections to
> the firewall to that database server, so when clients off-campus telnet
> to the firewall they get into the db server. The firewall has external
> (xl1, 198.49.142.14) and internal (xl0, 206.139.189.14) NICs. The

I would encourage them to use ssh.
 
> HERE IS MY /etc/ipnat.rules:
> rdr xl1 0.0.0.0/0 port 23 -> 206.139.189.94 port 23
 
This is your entire ipnat.rules?  Remember that ipnat.rules works
differently than ipf.rules, so your rdr rules need to be above your map
rules.  After that ipnat -CF -f /etc/ipnat.rules and try telnetting to
it from an external machine.  


-- 
Dave Watson



Visit your host, monkey.org