rc.conf:
ppp_enable="YES"
ppp_mode="ddial"
ppp_profile="pppoe"
ipfilter_enable="YES"
ipnat_enable="YES"
ipmon_enable="NO"
ipmon_flags="-Ds"
/etc/ipf.rules
ipnat.rules
map tun0 192.168.2.0/24 -> 0/32 proxy port ftp ftp/tcp
map tun0 192.168.2.0/24 -> 0/32 portmap tcp/udp auto
map tun0 192.168.2.0/24 -> 0/32
No comments:
Post a Comment