Linux юзаю недавно, поэтому не сильно буцайте.
OC Ubuntu server 8.04, обновленный до 9.04, БЕЗ графики - все через ssh делаю
ПО Rtorrent, LAMP, FTP, OSSH, DDClient (для получения доменного имени через dyndns.com)
Есть комп с 2 сетевыми:
Eth0 - 192.168.1.x/255.255.255.0
Eth1 - 10.203.54.25/255.255.0.0/10.203.0.1
Через интерфейс Eth1 я подключаюсь (точнее пытаюсь) через PPPoE. при этом у меня комп получает реальный IP, а серый, который забит руками служит для просмотря внутренних ресурсов сети провайдера и ipTV
Поставал squid.
В секции Network Options подправил:
# Squid normally listens to port 3128
http_port 192.168.1.3:3128
В /etc/network/interfases у меня было следующее:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.3
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.1.1
dns-search malish.homeftp.net
Потом сделал следующее
# 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
auto eth0
iface eth0 inet static
address 192.168.1.3
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.1.1
dns-search malish.homeftp.net
auto eth1
iface eth1 inet static
address 10.203.54.25
netmask 255.255.0.0
gateway 10.203.0.1
# dns-* options are implemented by the resolvconf package, if installe
dns-search malish.homeftp.net
Меня смущает последняя строка.
В ddclient.conf
# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf
daemon=300 # check every 300 seconds
syslog=yes # log update msgs to syslog
mail=root # mail all msgs to root
mail-failure=root # mail failed update msgs to root
pid=/var/run/ddclient.pid # record PID in file.
server=members.dyndns.org
protocol=dyndns2
use=web, web=checkip.dyndns.com/, web-skip='IP Address'
#use=web,web=dyndns
wildcard=yes
login=******** # ваш логин
password=******* # ваш пароль
********.homeftp.net # имя своего хоста
Помогите настроить pppoe и "сквозную" проксю.
Требование к проксе:
пароль НЕ требуется,
просто пропустить компы из локалки во внешку,
учет трафика не вести