Re: FreeBSD as Server
- From: Alexander <shulik_freebsd@xxxxxxxxxxxxxx>
- Date: Sat, 14 Jan 2006 18:01:14 +0200
I think, that ipfw is native for FreeBSD - it works better than other packet filters. Am I right?
With ng_nat first trouble was in parameter of mpd - there is set bundle enable compression. Second trouble is next:
in example I got next strings:
ipfw add 300 netgraph.... any to any....
ipfw add 400 netgraph.... any to any.....
In hook netgraph "out" I send only traffic from clients (in example was all traffic). In hook "in" I send all traffic from external interface.
But I took a problem with network on server.
ping works fine
mtr doesn't work
telnet <any host> <any port> don't work. But why?
When traffic that not be NATed in ng_nat was sent in hook "in" - it must simply out from it? Or no? Where is trouble?
Brian Candler пишет:
On Fri, Jan 13, 2006 at 03:50:00PM +0200, Alexander wrote:
Now I try to configure ng_nat. I use example from man ng_nat. Clients machine can ping inet hosts, but nothing loaded by http or ftp or other tcp protocol. On server packet NATed by not real ip. On other server under Linux this packet again NATed by real ip. What can I do with this?
Probably easier to use one of the other firewalling techniques to do NAT rather than manually configure ng_nat.
Your other options are: - ipfw + natd (old and venerable) - ipf - pf
My personal favourite is pf (which came from OpenBSD). Configuring NAT is just one line in /etc/pf.conf.
Regards,
Brian.
_______________________________________________
freebsd-isp@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@xxxxxxxxxxx"
_______________________________________________ freebsd-isp@xxxxxxxxxxx mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to "freebsd-isp-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: FreeBSD as Server
- From: Brian Candler
- Re: FreeBSD as Server
- References:
- RE: FreeBSD as Server
- From: Patrik Forsberg
- Re: FreeBSD as Server
- From: Eric Anderson
- Re: FreeBSD as Server
- From: Alexander
- Re: FreeBSD as Server
- From: Brian Candler
- RE: FreeBSD as Server
- Prev by Date: Re: FreeBSD as Server
- Next by Date: Re: FreeBSD as Server
- Previous by thread: Re: FreeBSD as Server
- Next by thread: Re: FreeBSD as Server
- Index(es):
Relevant Pages
|
|