hello to all the people, i'm trying for days to get work natting, but
nothing happens.

FreeBSD 6.2

/etc/rc.conf

gateway_enable = "YES"

ifconfig_vr0="inet 192.168.1.2 netmask 255.255.255.0"
ifconfig_xl0="inet 192.168.1.3 netmask 0xffffffff"
squid_enable="YES"

---

/etc/pf.conf

exter_if = "vr0"
inter_if = "xl0"

nat on $exter_if from $inter_if  to any -> $exter_if
rdr on $inter_if  inet proto tcp from  any to any port www -> 127.0.0.1 port
3128


/usr/local/etc/squid/squid.conf

http_port 3128 transparent
visible_hostname foo

#all the rest is left by default

The problem is that another machine can't surf or just ping the external nic
vr0. What I'm doing wrong, help me please. Thanks in advance.
--
$ miguel_alcántara $

"… empiezo acá con la idea de ir allá en un experimento para aumentar, por
ejemplo, la velocidad del cable interoceánico del Atlántico; pero cuando he
llegado en parte a la meta, me encuentro con un fenómeno que me empuja en
otra dirección [...] hacia algo completamente inesperado".

Thomas A. Edison.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to