ubuntu openpn, aws, iptable 配置网络

需求:

一个路由器, 一台ubuntu机器, 若干其它电脑,手机,通过ubuntu代理整个网络, 需要外部有一个服务器,这里使用亚马逊的aws。

整体网络图:

1:首先配置ubuntu:

/etc/network/interfaces  

配置eth0, 作为内网网关


auto eth0

iface eth0 inet static

address 192.168.10.1

netmask 255.255.255.0

2:配置inner路由:
posted @ 2012-12-13 19:41  liyonghelpme  阅读(280)  评论(0编辑  收藏  举报