網卡的設定 - Linux

By Jack
at 2011-12-28T09:50
at 2011-12-28T09:50
Table of Contents
※ 引述《Santana9 (兩口空空 跑路去)》之銘言:
: 機房的 linux server 兩張網卡
: 一個走外網 設 default gateway
: 一個走內網 10.10.50.x 255.255.255.0 設static route 10.10.50.0
: 如果從公司 連VPN 到機房 是 100.100.100.X 的網段
: 連內網, 有時通 有時不通 , 要先連 只設定一張內網網卡的 server 當跳板
: 再連到那台 server
: 如果 直接連外網 再進來是可以
: 只是想問 如果想直接連內網 , 需怎麼設定?
看你的Firewall有沒有設定好
例如:
iptables -I INPUT -p gre -j ACCEPT
iptables -I INPUT -p --dpot 1723 -j ACCEPT
--
: 機房的 linux server 兩張網卡
: 一個走外網 設 default gateway
: 一個走內網 10.10.50.x 255.255.255.0 設static route 10.10.50.0
: 如果從公司 連VPN 到機房 是 100.100.100.X 的網段
: 連內網, 有時通 有時不通 , 要先連 只設定一張內網網卡的 server 當跳板
: 再連到那台 server
: 如果 直接連外網 再進來是可以
: 只是想問 如果想直接連內網 , 需怎麼設定?
看你的Firewall有沒有設定好
例如:
iptables -I INPUT -p gre -j ACCEPT
iptables -I INPUT -p --dpot 1723 -j ACCEPT
--
Tags:
Linux
All Comments

By Michael
at 2011-12-31T15:54
at 2011-12-31T15:54

By Jake
at 2012-01-01T08:02
at 2012-01-01T08:02

By Kumar
at 2012-01-03T02:20
at 2012-01-03T02:20

By Catherine
at 2012-01-07T16:55
at 2012-01-07T16:55
Related Posts
有沒有精簡的debian live CD ?

By Madame
at 2011-12-27T23:45
at 2011-12-27T23:45
Debian packaging & Ubuntu PPA

By Iris
at 2011-12-27T23:38
at 2011-12-27T23:38
Ubuntu Enterprise Cloud 的用途?

By Margaret
at 2011-12-26T21:24
at 2011-12-26T21:24
紀錄 git gc 的執行結果

By Kumar
at 2011-12-26T11:03
at 2011-12-26T11:03
有關ubuntu 11.10 內建的火狐

By Yuri
at 2011-12-26T10:32
at 2011-12-26T10:32