服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. iptables linux redhat
  3. 我如何做iptables的IP地址转换?
Intereting Posts
Ubuntu update-rc.d的问题 使用Debian Squeeze的VPS不能转发邮件 – name = gmail.com的名称服务错误type = MX:Host not found,try again 带有OpenSwan的iPhone VPN无法重新连接 HP dl170 g6和LO100(iLO) – 无法从虚拟介质启动 Apache上没有PHP错误? 日志中的内核警告:set_rtc_mmss不能从0更新到58 来自非可启动系统的Mysql / Mariadb备份 Nginx的子域configuration没有被拾起/工作 如何从ISO命令行写入ISO映像到USB记忆棒? 用PHP分割故障来debuggingApache的build议 如何为Courier POP3指定一个CA? Linux上的Oracle与VMware的坚不可摧的企业内核? openvpn连接,但不工作,直到服务器ping客户端 “在cron作业上寻找匹配的”`“时意外的EOF 因为meteor包文件夹中发生了什么,所以不能进入inode

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