|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Valentin Nechayev 2:5020/400 15 Jul 2004 12:49:59 To : Michael Kolomiets Subject : Re: pppoe и natd rules из rc.firewall -------------------------------------------------------------------------------- >>> Michael Kolomiets wrote: MK> в rc.firewall: MK> oif="tun0" MK> ... MK> case ${natd_enable} in MK> [Yy][Ee][Ss]) MK> if [ -n "${natd_interface}" ]; then MK> ${fwcmd} add divert natd tcp from any to any via MK> ${natd_interface} established MK> divert natd icmp from any to any in recv Может, таки ${fwcmd} add добавить? MK> ${natd_interface} icmptype 0,3,4,8,11,12 MK> divert natd icmp from any to any out xmit MK> ${natd_interface} icmptype 0,3,8,12 MK> divert natd udp from any to any 33434-33700 out xmit MK> ${natd_interface} MK> divert natd tcp from 192.168.21.1 to any 25 out xmit MK> ${natd_interface} setup MK> fi MK> ;; MK> esac MK> ... MK> в результате ipfw li дает следующее: MK> 01800 divert 8668 tcp from any to any via tun0 established MK> и все :( MK> Чего я ему не так сказал? Ткните, ПЛЗ. -netch- --- ifmail v.2.15dev5.3 * Origin: Dark side of coredump (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/22383c66c3811.html, оценка из 5, голосов 10
|