iptables

网络知识

natcfg.sh:利用iptables进行端口转发,支持域名、ddns、udp、IP等

1

发布于 3年前 (2020-11-16)

natcfg.sh,基于iptables进行端口转发,特色是支持域名、ddns、udp、IP等,在NAT VPS不用设置内网IP,更简单。缺点是不支持端口段。 一、前提操作 非必需 1、卸载 firewalld 和 ufw apt remove firewalld ufw 或 yum remove firewalld ufw 然后重启。 2、安装iptables yum install -y ip...

阅读(5840)评论(2)赞 (1)

网络知识

利用iptables端口转发,提高网络访问速度

发布于 4年前 (2020-01-14)

先参考:Brook/iptables端口转发 一键管理脚本,支持DDNS 一般以IPLC、国内线路机器为转发服务器。 被转发的机器为国外主机。 假设转发服务器为 1.1.1.1,端口为 11111 被转发的服务器为 2.2.2.2,端口为 22222 均在转发的服务器上进行设置,被转发的不用管。 如果个人使用,建议把所有端口的转发都加上,如 22-65535 下面以iptables端口转发为例说明...

阅读(4732)评论(4)赞 (0)