首次打开网页跳转跳转问题
做了个跳转配置,跳转是实现了,但是现在跳转到页面上,页面跳转了后ip地址没有添加到hold地址列表中区。必须访问页面内容,地址才能加到hold里面否者用户不能正常上网。大家可以帮我分析分析怎么回事。202.115.80.140 这个ip地址是用来测试的。
mangle配置
chain=prerouting action=add-src-to-address-list connection-state=new
protocol=tcp dst-address=!202.115.80.140 src-address-list=!hold
address-list=fresh address-list-timeout=8s in-interface=bridge1
dst-port=80
chain=prerouting action=add-src-to-address-list protocol=tcp
dst-address=202.115.80.140 address-list=hold address-list-timeout=8h
in-interface=bridge1 dst-port=80
nat配置
chain=dstnat action=dst-nat to-addresses=202.115.80.140 to-ports=80
protocol=tcp src-address-list=fresh dst-port=80
页:
[1]