时间: 2011-10-18 - 分类: 榆树网-杂项, 榆树网-系统 - 无评论 - 3,415 views
在vps里执行:
iptables -t nat -L
提示:
iptables v1.2.11: can’t initialize iptables table `nat’: Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Read the rest of this entry »
Tags: iptables, NAT, OpenVZ, SNAT, VPS
时间: 2011-09-11 - 分类: 榆树网-系统, 榆树网-网络, 热门 - 1 评论 - 11,498 views
Tags: Linux, NAT, OpenVPN, Port MAP, 端口映射
时间: 2011-09-08 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 3,154 views
NAT在现实生活中解决了不少问题,随之而来的事件追踪也是一件麻烦事,由于NAT修改数据包的源地址(或端口),因此,只能通过记录NAT前后的IP地址来解决。
Read the rest of this entry »
Tags: iptables, Linux, LOG, NAT
时间: 2011-09-02 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 3,445 views
和一些做NAT的老师接触,谈起NAT的问题,大多数都是自己用Linux使用iptables来搞定的,在具体谈到地址池的时候,发现很多老师都习惯将1个C网络NAT到一个单独的IP地址上,如果有N个C类地址,那就需要写N条iptables规则,当然这样做的好处是用户的源地址永远不会变,便于事件的追查等,当问到为什么非要把1个C映射到一个IP地址上时,大家的回答都是:怕一个地址的端口数量不够,导致连接数不够。
Read the rest of this entry »
Tags: iptables, Linux, NAT, 地址池, 连接数, 防火墙
时间: 2011-08-29 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 1,409 views
用Linux做路由相信大家都不陌生,其实做路由,只需要把系统的转发功能打开即可,但是我们常说的做路由,往往都是路由+NAT(网络地址转换),因为我们IPv4地址在紧缺了,相信大家也看过不少文章,关于如何那Linux做路由,如何配置,这里简单介绍一下:
最简单的方法:
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
这样,从eth1出去的报文,如果在conntrack表中不存在,则系统会自动用eth1的某个可用地址替换,这样配置的好处是,无论eth1的地址怎么修改,只要配置正确下面的用户都可以访问互联网。
Read the rest of this entry »
Tags: iptables, Linux, NAT, 地址池, 网银, 论坛
时间: 2011-07-10 - 分类: 榆树网-系统 - 无评论 - 1,255 views
用习惯了CentOS或RHEL的用户或许很熟悉/etc/modprobe.conf文件,系统声卡、网卡、SCSI卡的驱动类型都在这里定义,同样部分动态加载的模块的参数也可以在这个文件中定义,但是在CentOS6安装完毕后,在etc目录中却找不到modprobe.conf文件了,到底modprobe.conf文件到哪里去了?
Read the rest of this entry »
Tags: CentOS, modprobe, NAT, RHEL, 系统连接数
时间: 2010-11-07 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 917 views
A simple NAT(network address translation) for IPv6 (Linux only). Make sure if you really need it before using it. Functions: 1. IPv6 auto configuration; 2. TCP, UDP and ICMP-Echo port forwarding; 3. static port mapping for TCP and UDP.
http://sourceforge.net/projects/ipv6nat/
Tags: iptables, IPv6, NAT, Router
时间: 2010-07-20 - 分类: 榆树网-杂项 - 无评论 - 1,030 views
Hi, Guys:
I am hitting a wall here. Trying to set up a simple point-to-point Voip by following the instruction http://forum.voxilla.com/linksys-sip…oint-9415.html
Read the rest of this entry »
Tags: Linksys, NAT, SIP, VoIP, 网关, 网络地址转换
时间: 2009-10-21 - 分类: 榆树网-系统 - 无评论 - 750 views
Tags: Linux, NAT, 防火墙