請教一下 iptables DNAT 的問題 - Linux

Oliver avatar
By Oliver
at 2011-02-16T14:22

Table of Contents

route 的資訊如下

[root@dev ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
168.95.98.254 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.111.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0

--
Tags: Linux

All Comments

請教一下 iptables DNAT 的問題

Skylar Davis avatar
By Skylar Davis
at 2011-02-16T11:54
目前我的主機環境如下 Internet (Hinet) --andgt; 主機 eth1 ppp0 -andgt; 主機 eth0 --andgt; NAT 環境 (固定ip: 192.168.111.1) (192.168.0.0 的網域) 主機上有兩張網卡 eth1 是 ...

/分割區變更檔案系統

Agnes avatar
By Agnes
at 2011-02-16T11:52
: → kdjf:先開好機,再chroot進去可以用嗎? 02/13 08:39 : → Adama:不知道了,現在正在流淚重灌中XD 02/13 18:57 : 推 pgychen:您用 root 去 ...

在debian下(文字模式)使用中文出現亂碼

Mary avatar
By Mary
at 2011-02-16T10:54
※ 引述《fourdollars (四元)》之銘言: : 在 /etc/default/grub 裡面加上 : GRUB_GFXMODE=800x600 : GRUB_GFXPAYLOAD_LINUX=and#34;800x600x24,800x600and#34; : 再執行 update-grub ...

$4 的 Debian 6.0 自動化安裝

Yuri avatar
By Yuri
at 2011-02-16T10:10
※ 引述《fourdollars (四元)》之銘言: : *製作可開機安裝 Debian 6.0 的 USB Stick* : 首先去下載 debian-6.0.0-i386-businesscard.iso (46M) 回來 : http://cdimage.debian.org/debian-cd/6.0 ...

請問怎麼在.sh檔裡用time輸出指令的執行時間?

George avatar
By George
at 2011-02-16T04:08
小弟如果直接在command line下列指令: (time ./a.out) andgt;andgt; test.log 可以把執行./a.out的輸出與其執行時間輸出到test.log這個檔 ex. ./a.out會輸出 Hello World 則test.log裡面的內容會是 Hello World ...