Stanislav Kozlov писал(а):
2) В Вашем случае нужно использовать именно wan_ip. Этому объекту адрес автоматически назначается, когда происходит смена адреса от dhcp. При данной настройке это никак не влияет на PPP соединения, разве что сессия будет обрыватся при смене адреса.
Дык а в чем могут быть грабли?
Вот правила чтио есть:
lan_to_wan1:
1 drop_smb-all Drop lan lannet wan1 all-nets smb-all
2 allow_ping-outbound NAT lan lannet wan1 all-nets ping-outbound
3 allow_ftp-passthrough NAT lan lannet wan1 all-nets ftp-passthrough
4 allow_standard NAT lan lannet wan1 all-nets all_tcpudp
map_admin:
1 torrents SAT any all-nets core wan1_ip torrents_azureus
2 torrents_1 Allow any all-nets core wan1_ip torrents_azureus
3 ftp SAT any all-nets core wan1_ip ftp-inbound
4 ftp_2 Allow any all-nets core wan1_ip ftp-inbound
remotesite:
1 fromPPtPclients Allow pptp_server pptp_IPPool lan lannet all_services
2 toPPtPclients Allow lan lannet pptp_server pptp_IPPool all_services
Книга:
all-nets 0.0.0.0/0 All possible networks
InterfaceAddresses This folder contains addresses for interfaces
IPPool
wan1_br 0.0.0.0 Broadcast address for interface wan1.
wan1_dns1 0.0.0.0 Primary DNS server on interface "wan1".
wan1_dns2 0.0.0.0 Secondary DNS server on interface "wan1".
wan1_gw 0.0.0.0 Default gateway on interface "wan1".
InterfaceAddresses:
Access_ip admin_ip, ark_ip, avl_ip, dog1_ip, ivv_ip, pdc_ip,...
admin_ip 192.168.0.49 Ip admina
ark_ip 192.168.0.8 Kliavina IP
avl_ip 192.168.0.50 Artem IP
dhcpserver_netmask 255.255.255.0
dhcpserver_range 192.168.0.0/24
dmz_ip 172.17.100.254 IPAddress of interface dmz
dmznet 172.17.100.0/24 The network on interface dmz
dog1_ip 192.168.0.13
ivv_ip 192.168.0.171 Isaenko IP
lan_ip 192.168.0.1 IPAddress of interface lan
lannet 192.168.0.0/24 The network on interface lan
mail_ip_net 82.193.96.18
pdc_ip 192.168.0.100 pdc server ip
roc_ip 192.168.0.22
wan1_ip 0.0.0.0 IPAddress of interface wan1
wan1net 0.0.0.0/0 The network on interface wan1
wan2_ip 192.168.120.254 IPAddress of interface wan2
wan2net 192.168.120.0/24 The network on interface wan2
zp1_ip 192.168.0.11
IPPool:
pptp_IPPool 192.168.0.210-192.168.0.240