Displaying 3 results from an estimated 3 matches for "use_sockets".
2003 Jul 16
0
accessing a jail via localhost
I'm facing a problem with accessing a HTTPd (Apache) jail locally. Consider
this jail scenario:
/etc/hosts:
127.0.0.1 localhost foo.com
172.16.0.1 apache
/etc/natd.conf:
use_sockets yes
same_ports yes
unregistered_only yes
redirect_port tcp 172.16.0.1:80 80
redirect_port tcp 172.16.0.1:443 443
/etc/firewall.sh
...
${fwcmd} add divert natd all from any to any via ${oif}(IPFW)
...
rl0, my external net inferface, is aliased to 172.16.0.1. Apache 1.3 is
installed in /usr/jail/h...
2003 Nov 21
0
how to get IPFW rules for SMTP server behind NAT server "right"?
...rver="10.0.0.2" # SMTP server behind NAT firewall
client_machine="10.0.0.3" # a client machine inside the NAT firewall
i've launched NATD as follows:
/usr/sbin/natd \
-interface ${exif} -dynamic -port 8668 \
-log -log_denied \
-unregistered_only \
-use_sockets \
-redirect_port tcp ${smtp_server}:25 25
tme SMTP server listens ONLY on port 25, IP address = 10.0.0.2
currently, my SMTP ipfw rules are as follows (snip'd from my startup
script)
=============================================
# allow connections to/from internal smtp_server
ipfw add...
2004 May 11
3
quick FW question
I hope this isn't too off topic, but I'd like a quick solution to a
problem.
I have a small network behind a NAT firewall (FreeBSD of course) and I'd
like to block/redirect all traffic from the internal network to the
local mail server (same box as firewall) in order to prevent direct smtp
requests to the outside world (mainly virus/trokan programs).
I think I have it right in this