Rating@Mail.ru
IPB
Etersoft - from Windows to Linux
Etersoft
решения для перехода
с Windows на Linux
Дружественные сайты: alv.me и Rus-Linux.net

Здравствуйте, гость ( Вход | Регистрация ) Поиск · 

Профиль
Фотография
Опции
Опции
О себе
Fivex не указал(а) ничего о себе.
Личная информация
Fivex
Новичок
32 от роду
Мужской
Чебоксары
Дата рождения: Апр-21-1985
Интересы
Нет данных
Другая информация
Операционная система: Debian, Fedora 10
JID: Нет данных
Город: Чебоксары
Статистика
Регистрация: 21-August 08
Просмотров профиля: 923*
Последнее посещение: 18th January 2011 - в 18:37
Часовой пояс: Dec 17 2017, в 05:08
18 сообщений (0.01 за день)
Контактная информация
AIM Нет данных
Yahoo Нет данных
ICQ 414350800
MSN Нет данных
Contact E-mail скрыт
* Просмотры профиля обновляются каждый час

Fivex

Участники


Темы
Сообщения
Друзья
Содержимое
27 Apr 2009
Имеется хард сата 2,5 с битым блоком(скорее всего не одним) не определяется системой.
Возможно ли своими силами попытаться восстановить, может кто сталкивался...?
26 Jan 2009
пытаюсь пробросить порт через iptables webmin
получается строка -A nat -p tcp -m tcp -i eth3 --dport 80 -j DNAT --to-destination 192.168.2.2
цепочку назвал nat
При попытке применить-
Не удалось применить конфигурацию :
iptables-restore v1.3.6: Line 38 seems to have a -t table option.
Error occurred at line: 38
Try `iptables-restore -h' or 'iptables-restore --help' for more information.

а через скрипт
iptables -A PREROUTING -i eth3 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.2.2 -t nat
все работает
Помогите разобраться

ЗЫ
конфиг
# Generated by iptables-save v1.3.8 on Thu Nov 27 22:07:42 2008
*mangle
:PREROUTING ACCEPT [16625939:16085960115]
:INPUT ACCEPT [21201:13942809]
:FORWARD ACCEPT [16604714:16072001138]
:OUTPUT ACCEPT [21178:4255417]
:POSTROUTING ACCEPT [16625963:16076263724]
COMMIT
# Completed on Thu Nov 27 22:07:42 2008
# Generated by iptables-save v1.3.8 on Thu Nov 27 22:07:42 2008
*nat
:nat - [0:0]
:PREROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING -o eth0 -j MASQUERADE
-A POSTROUTING -o eth1 -j MASQUERADE
-A POSTROUTING -o eth3 -j MASQUERADE
-A POSTROUTING -o gre0 -j MASQUERADE
-A POSTROUTING -o ppp0 -j MASQUERADE
-A nat -p tcp -m tcp -i eth3 --dport 80 -j DNAT --to-destination 192.168.2.2 -t nat
COMMIT
# Completed on Thu Nov 27 22:07:42 2008
# Generated by iptables-save v1.3.8 on Thu Nov 27 22:07:42 2008
*filter
:FORWARD DROP [0:0]
:INPUT DROP [0:0]
:reject_func - [0:0]
:OUTPUT ACCEPT [0:0]
:forward_ext - [0:0]
:forward_int - [0:0]
:input_ext - [0:0]
:input_int - [0:0]
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i eth2 -j input_int
-A INPUT -i eth0 -j input_int
-A INPUT -p tcp -m tcp -i eth3 --dport 80 -j nat -t nat
-A INPUT -i eth3 -j input_ext
-A INPUT -j input_ext
-A INPUT -m limit --limit 3/min -j LOG --log-prefix "SFW2-IN-ILL-TARGET " --log-tcp-options --log-ip-options
-A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
-A FORWARD -i eth2 -j forward_int
-A FORWARD -i eth0 -j forward_int
-A FORWARD -i eth3 -j forward_ext
-A FORWARD -m limit --limit 3/min -j LOG --log-prefix "SFW2-FWD-ILL-ROUTING " --log-tcp-options --log-ip-options
-A FORWARD -j DROP
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -m limit --limit 3/min -j LOG --log-prefix "SFW2-OUT-ERROR " --log-tcp-options --log-ip-options
-A forward_ext -p icmp -m state -m icmp --icmp-type 0 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_ext -p icmp -m state -m icmp --icmp-type 3 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_ext -p icmp -m state -m icmp --icmp-type 11 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_ext -p icmp -m state -m icmp --icmp-type 12 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_ext -p icmp -m state -m icmp --icmp-type 14 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_ext -p icmp -m state -m icmp --icmp-type 18 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_ext -p icmp -m state -m icmp --icmp-type 3/2 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_ext -p icmp -m state -m icmp --icmp-type 5 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_ext -m state -i eth3 -o eth2 --state ESTABLISHED,RELATED -j ACCEPT
-A forward_ext -m state -i eth3 -o eth0 --state ESTABLISHED,RELATED -j ACCEPT
-A forward_ext -m limit -m pkttype --limit 3/min -j LOG --pkt-type multicast --log-prefix "SFW2-FWDext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_ext -m pkttype -j DROP --pkt-type multicast
-A forward_ext -p tcp -m limit -m tcp --tcp-flags FIN,SYN,RST,ACK SYN --limit 3/min -j LOG --log-prefix "SFW2-FWDext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_ext -p icmp -m limit --limit 3/min -j LOG --log-prefix "SFW2-FWDext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_ext -p udp -m limit --limit 3/min -j LOG --log-prefix "SFW2-FWDext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_ext -m limit -m state --limit 3/min --state INVALID -j LOG --log-prefix "SFW2-FWDext-DROP-DEFLT-INV " --log-tcp-options --log-ip-options
-A forward_int -p icmp -m state -m icmp --icmp-type 0 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_int -p icmp -m state -m icmp --icmp-type 3 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_int -p icmp -m state -m icmp --icmp-type 11 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_int -p icmp -m state -m icmp --icmp-type 12 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_int -p icmp -m state -m icmp --icmp-type 14 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_int -p icmp -m state -m icmp --icmp-type 18 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_int -p icmp -m state -m icmp --icmp-type 3/2 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_int -p icmp -m state -m icmp --icmp-type 5 --state RELATED,ESTABLISHED -j ACCEPT
-A forward_int -m state -i eth0 -o eth3 --state NEW,ESTABLISHED,RELATED -j ACCEPT
-A forward_int -m state -i eth2 -o eth3 --state NEW,RELATED,ESTABLISHED -j ACCEPT
-A forward_int -m limit -m pkttype --limit 3/min -j LOG --pkt-type multicast --log-prefix "SFW2-FWDint-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_int -m pkttype -j DROP --pkt-type multicast
-A forward_int -p tcp -m limit -m tcp --tcp-flags FIN,SYN,RST,ACK SYN --limit 3/min -j LOG --log-prefix "SFW2-FWDint-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_int -p icmp -m limit --limit 3/min -j LOG --log-prefix "SFW2-FWDint-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_int -p udp -m limit --limit 3/min -j LOG --log-prefix "SFW2-FWDint-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_int -m limit -m state --limit 3/min --state INVALID -j LOG --log-prefix "SFW2-FWDint-DROP-DEFLT-INV " --log-tcp-options --log-ip-options
-A forward_int -j reject_func
-A input_ext -m pkttype -j DROP --pkt-type broadcast
-A input_ext -p icmp -m icmp --icmp-type 4 -j ACCEPT
-A input_ext -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A input_ext -p tcp -m tcp -m state --dport 113 --state NEW -j reject_func
-A input_ext -m limit -m pkttype --limit 3/min -j LOG --pkt-type multicast --log-prefix "SFW2-INext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A input_ext -m pkttype -j DROP --pkt-type multicast
-A input_ext -p tcp -m limit -m tcp --tcp-flags FIN,SYN,RST,ACK SYN --limit 3/min -j LOG --log-prefix "SFW2-INext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A input_ext -p icmp -m limit --limit 3/min -j LOG --log-prefix "SFW2-INext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A input_ext -p udp -m limit --limit 3/min -j LOG --log-prefix "SFW2-INext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A input_ext -m limit -m state --limit 3/min --state INVALID -j LOG --log-prefix "SFW2-INext-DROP-DEFLT-INV " --log-tcp-options --log-ip-options
-A input_ext -j DROP
-A input_int -j ACCEPT
-A reject_func -p tcp -j REJECT --reject-with tcp-reset
-A reject_func -p udp -j REJECT --reject-with icmp-port-unreachable
-A reject_func -j REJECT --reject-with icmp-proto-unreachable
-A forward_ext -j DROP
-A INPUT -j DROP
COMMIT
# Completed on Thu Nov 27 22:07:42 2008
23 Jan 2009
Привет всем!
Дайте совет по настройке. Суть настройки:
Сервер Proftpd имеет подключение по 3-м сетям
1 сеть домашняя
2 сеть пров1
3 сеть пров2
соответственно некоторые могут подключаться из сетей провайдеров к нему(Proftpd), а задача состоит следующем, человек подключился от прова 1, мог видеть симлинки на фтп сервера прова 2 и через мой фтп на них заходить(без настройки маршрутизации и прокси).
Как можно наилучшим способом реализовать данное? :-))
28 Dec 2008
Пытаюсь настроить домашний роутер, застрял на iptables
Подскажите пожалуйста что не так?
конфиг:
CODE
# Generated by
*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Generated by iptables
*nat
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A POSTROUTING -o eth0 -j MASQUERADE
-A POSTROUTING -o ppp0 -j MASQUERADE
COMMIT
# Generated by iptables
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
:forward_ext - [0:0]
:forward_int - [0:0]
:input_ext - [0:0]
:input_int - [0:0]
:reject_func - [0:0]
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i eth3 -j input_int
-A INPUT -i eth0 -j input_ext
-A INPUT -i ppp0 -j input_ext
-A INPUT -j input_ext
-A INPUT -m limit --limit 3/min -j LOG --log-prefix "SFW2-IN-ILL-TARGET " --log-tcp-options --log-ip-options
-A INPUT -j DROP
-A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
-A FORWARD -i eth3 -j forward_int
-A FORWARD -i eth0 -j forward_ext
-A FORWARD -i ppp0 -j forward_ext
-A FORWARD -m limit --limit 3/min -j LOG --log-prefix "SFW2-FWD-ILL-ROUTING " --log-tcp-options --log-ip-options
-A FORWARD -j DROP
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -m limit --limit 3/min -j LOG --log-prefix "SFW2-OUT-ERROR " --log-tcp-options --log-ip-options
-A forward_ext -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 0 -j ACCEPT
-A forward_ext -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 3 -j ACCEPT
-A forward_ext -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 11 -j ACCEPT
-A forward_ext -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 12 -j ACCEPT
-A forward_ext -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 14 -j ACCEPT
-A forward_ext -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 18 -j ACCEPT
-A forward_ext -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 3/2 -j ACCEPT
-A forward_ext -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 5 -j ACCEPT
-A forward_ext -i eth0 -o eth3 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A forward_ext -i ppp0 -o eth3 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A forward_ext -m limit --limit 3/min -m pkttype --pkt-type multicast -j LOG --log-prefix "SFW2-FWDext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_ext -m pkttype --pkt-type multicast -j DROP
-A forward_ext -p tcp -m limit --limit 3/min -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j LOG --log-prefix "SFW2-FWDext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_ext -p icmp -m limit --limit 3/min -j LOG --log-prefix "SFW2-FWDext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_ext -p udp -m limit --limit 3/min -j LOG --log-prefix "SFW2-FWDext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_ext -m limit --limit 3/min -m state --state INVALID -j LOG --log-prefix "SFW2-FWDext-DROP-DEFLT-INV " --log-tcp-options --log-ip-options
-A forward_ext -j DROP
-A forward_int -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 0 -j ACCEPT
-A forward_int -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 3 -j ACCEPT
-A forward_int -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 11 -j ACCEPT
-A forward_int -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 12 -j ACCEPT
-A forward_int -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 14 -j ACCEPT
-A forward_int -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 18 -j ACCEPT
-A forward_int -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 3/2 -j ACCEPT
-A forward_int -p icmp -m state --state RELATED,ESTABLISHED -m icmp --icmp-type 5 -j ACCEPT
-A forward_int -i eth3 -o eth0 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
-A forward_int -i eth3 -o ppp0 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
-A forward_int -m limit --limit 3/min -m pkttype --pkt-type multicast -j LOG --log-prefix "SFW2-FWDint-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_int -m pkttype --pkt-type multicast -j DROP
-A forward_int -p tcp -m limit --limit 3/min -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j LOG --log-prefix "SFW2-FWDint-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_int -p icmp -m limit --limit 3/min -j LOG --log-prefix "SFW2-FWDint-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_int -p udp -m limit --limit 3/min -j LOG --log-prefix "SFW2-FWDint-DROP-DEFLT " --log-tcp-options --log-ip-options
-A forward_int -m limit --limit 3/min -m state --state INVALID -j LOG --log-prefix "SFW2-FWDint-DROP-DEFLT-INV " --log-tcp-options --log-ip-options
-A forward_int -j reject_func
-A input_ext -m pkttype --pkt-type broadcast -j DROP
-A input_ext -p icmp -m icmp --icmp-type 4 -j ACCEPT
-A input_ext -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A input_ext -p tcp -m tcp --dport 113 -m state --state NEW -j reject_func
-A input_ext -m limit --limit 3/min -m pkttype --pkt-type multicast -j LOG --log-prefix "SFW2-INext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A input_ext -m pkttype --pkt-type multicast -j DROP
-A input_ext -p tcp -m limit --limit 3/min -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j LOG --log-prefix "SFW2-INext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A input_ext -p icmp -m limit --limit 3/min -j LOG --log-prefix "SFW2-INext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A input_ext -p udp -m limit --limit 3/min -j LOG --log-prefix "SFW2-INext-DROP-DEFLT " --log-tcp-options --log-ip-options
-A input_ext -m limit --limit 3/min -m state --state INVALID -j LOG --log-prefix "SFW2-INext-DROP-DEFLT-INV " --log-tcp-options --log-ip-options
-A input_ext -j DROP
-A input_int -j ACCEPT
-A reject_func -p tcp -j REJECT --reject-with tcp-reset
-A reject_func -p udp -j REJECT --reject-with icmp-port-unreachable
-A reject_func -j REJECT --reject-with icmp-proto-unreachable
COMMIT
# Completed 28.12.2008
Просмотры


26 Jan 2009 - 22:00


Друзья

2 сообщений
29th January 2009 - в 14:07
Просмотр всех друзей
RSS Текстовая версия Сейчас: 17th December 2017 - в 05:08




Rating@Mail.ru