求带ros怎么变成web服务器

求带ros怎么变成web服务器,第1张

dmin@MikroTik] ip web-proxy> print
enabled: yes
address: 0000:3128
hostname: ""
transparent-proxy: no
parent-proxy: 0000:0
cache-administrator: "webmaster"
max-object-size: 4096 kB
max-cache-size: unlimited
status: running
reserved-for-cache: 10240 kB
[admin@MikroTik] ip web-proxy>
[admin@MikroTik] ip firewall dst-nat> print
Flags: X - disabled, I - invalid
0 src-address=19216800/32:0-65535 in-interface=8139
dst-address=!19216800/32:80 protocol=tcp icmp-options=any:any flow=""
src-mac-address=00:00:00:00:00:00 limit-count=0 limit-burst=0
limit-time=0s action=redirect to-dst-address=0000 to-dst-port=3218
[admin@MikroTik] ip firewall dst-nat>
按上面设好web-proxy,在firewall dst-nat设置重定向就行了
摄制web-proxy不需要设置dst-nat就能用的,只要在客户机ie属性的连接属性中加上你的服务器ip和端口就行,与用外面的代理一样。
dst-nat是设置对外服务用的端口映射,例如在内网存在web服务器,需要从外面访问的话,就做80端口。


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zz/10850408.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-05-11
下一篇2023-05-11

发表评论

登录后才能评论

评论列表(0条)

    保存