服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. iptables linux redhat
  3. 我如何做iptables的IP地址转换?
Intereting Posts
SCP – 是否需要校验和? 如何理解“子网例子”? 你怎么能告诉ssh密钥是多less年? 如何build立基于容器的Docker镜像? 组pipe理服务帐户(gMSA):获取授权主机/安装 – adservice帐户未知错误 CentOS服务器中的磁盘I / O活动较高 专用Web服务器:双核3.0GHz四核2.4GHz proxy_ajp通配符 通过SSH进行组播 检测IP冲突 关于新办公空间networkingconfiguration的思考 DNS胶水logging – 路线53域名/ Godaddy拒绝 什么情况需要有状态的防火墙? Crontab与init.d哪一个用于启动脚本? 无法从我的networking访问godaddy托pipe(甚至godaddy.com)

我如何做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