服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. iptables linux redhat
  3. 我如何做iptables的IP地址转换?
Intereting Posts
Mod_Qos规则限制来自同一IP的GET请求? 在CentOS 5上安装PPTP无法正常工作(内核支持PPP?) 是否有支持的方式在AWS Elastic Beanstalk上运行后期部署脚本? DFSR – 当一台服务器变得最大时会发生什么? 环境variables和进一步的用户设置 如何设置SSL邮件服务器? IIS文件大小报告 摆脱PULSE_ *环境variables 在Windows 2008上,“networking应用程序的最大数据吞吐量”设置仍然有效吗? 根据GET查询更改proxy_cache_valid值 RabbitMQ和联邦。 跨数据中心虚拟队列? 光纤pipe理臂中的光纤 Windows Server 2008/2003 – 确定所有“已用”本地networking端口 OpenVPN来自对端的封装不好的数据包长度 如何从本地networking中的其他PC访问Web服务器应用程序?

我如何做iptables的IP地址转换?

我需要在iptables中创build一个路由,当我连接到外部FTP服务器时,允许使用我的第二个IP地址作为源(不是默认值)。 我如何创buildiptables的路线? 我不是很熟悉Linux / Redhat的命令的任何帮助将不胜感激。

感谢任何方向!

  • iptables:通过IP范围阻止特定网站的stream量
  • SSH断开连接问题 – TCP RST数据包
  • redirect基于端口的stream量(iptables)
  • IPTables内部负载平衡
  • iptables – 转发电子邮件端口?

你需要使用一个源NATing规则,如:

$ sudo iptables -t nat -A POSTROUTING -s your_private_ip -d FTP_server_ip -j SNAT --to-source your_public_ip 

您也可以使用-i eth0指定接口。

  • iptables + iptables_netflow:iptables阻止netflow导出?
  • DoS攻击请求服务器上的单个文件,最好的办法来克服?
  • 不能设置FTPS的iptables规则(pure-ftpd with TLS)
  • 使用iptables根据模式匹配(–string)redirect
  • 将iptables规则转移到另一台服务器(几乎)实时
  • 如何优化munin fw_conntrack脚本
  • iptables:转发数据包不起作用
  • 使用iptablesredirect两个端口之间的stream量
  • 为Samba提供安全的iptablesconfiguration
  • httpsstream量被路由到端口21

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy