This topic created in 4333 days ago, the information mentioned may be changed or developed.
比如vpn进来后获得的ip是192.168.100.2,网关是192.168.100.1,另外一个用户ip是.100.3,如何配置才能让用户无法互相访问(广播也只有网关能收到)只能访问网关?
试了下用iptables把到除了网关的ip都drop,似乎不管用……
2 replies 2014-06-18 22:18:54 +08:00  | | 1 chijiao Jun 18, 2014 via iPhone iptables 是起作用的,应该是你配置问题,我就是这么干的 |
 | | 2 billlee Jun 18, 2014 我是这样写是起作用的 iptables -t filter -I FORWARD -s 192.168.100.0/24 -d 192.168.100.0/24 -j DROP |