Код: Выделить всё
$ uname -a
FreeBSD selena.ski-elfa 8.2-STABLE FreeBSD 8.2-STABLE #7: Thu Jan 5 21:14:07 VOLT 2012 root@selena.ski-elfa:/usr/obj/usr/src/sys/selena i386
Код: Выделить всё
[global]
interfaces = 192.168.0.100 127.0.0.1
bind interfaces only = yes
dos charset = CP866
unix charset = KOI8-R
workgroup = SKI_ELF_HOME
server string = selena
log file = /var/log/samba/log.%m
max log size = 50
dns proxy = No
security = user
socket options=SO_RCVBUF=131072 SO_SNDBUF=131072 TCP_NODELAY
min receivefile size=16384
use sendfile=true
aio read size = 16384
aio write size = 16384
aio write behind = true
unix extensions = no
follow symlinks = yes
wide links = yes
Код: Выделить всё
#kernel nat на nfe0
/sbin/ipfw nat 1 config ip 10.73.0.114 log
/sbin/ipfw add 10 nat 1 ip from 192.168.0.0/24 to 10.0.0.0/8
/sbin/ipfw add 11 nat 1 ip from 192.168.0.0/24 to 213.234.4.160/28
/sbin/ipfw add 20 nat 1 ip from any to 10.73.0.114
#kernel nat на ng0
ipfw nat 2 config ip 188.247.xx.xx log
ipfw add 30 nat 2 ip from 192.168.0.0/24 to any
ipfw add 320 nat 2 ip from any to 188.247.xx.xx