請問如何在debian架設nat
是否有詳細的解說
ps,只有一片網卡
版主: 阿信
auto eth0 eth0:0
iface eth0 inet static
address [your_public_ip]
netmask 255.255.255.0
gateway [your_gateway_of_public_ip]
iface eth0:0 inet static
address 192.168.0.254
netmask 255.255.0.0
up /sbin/iptables-restore /etc/network/iptables
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客