From: "Shcherbina N. Timur" <timur@agral.ru> To: <community@lists.altlinux.org> Subject: Re: [Comm] ALTLinux Sohoserver, nastroiki dlya bank-klienta Date: Thu, 19 Oct 2006 12:34:31 +0400 Message-ID: <002c01c6f359$66520cd0$0d00a8c0@agral.ru> (raw) In-Reply-To: <mailman.266.1161170157.18822.community@lists.altlinux.org> >> Здравствуйте! >> Купил дистрибутив ALT LINUX Sohoserver, установил все(не без проблем >> конечно), но вот столкнулся с такой проблемой... В локалке на комп-ре >> установлены банк-клиенты, который обращаются на определенный ip-ник, через >> определенный порт, так вот после того как поставил этот дистриб все >> перестало работать, в iptables добавлял правила... >> iptables -A FORWARD -p tcp -d 192.168.0.0/24 -s 195.5.134.240 --dport >> 1024:65535 -j ACCEPT На самом деле тут сделал ошибку вместо ип отправителя написал ип получателя iptables -A FORWARD -p tcp -d 195.5.134.240 -s 192.168.0.0/24 --dport 1024:65535 -j ACCEPT Но почему то работает, для возвращающихся пакетов что не нужно писать правил, или просто у меня все открыто? >> но не помогло, возможно Squid не пропускает? Не могу разобраться, может >> поможет кто-нить? Заранее благодарю... > Нужно еще NAT > iptables -t nat -A POSTROUTING -p tcp -d 195.5.134.240 -s 192.168.0.0/24 > --dport 1024:65535 -j SNAT --to-source ваш_внешний_ip_адрес
next parent reply other threads:[~2006-10-19 8:34 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-10-19 8:34 ` Shcherbina N. Timur [this message] 2006-10-19 9:51 ` Andrii Dobrovol`s`kii 2006-10-19 10:09 ` Шенцев Алексей Владимирович
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='002c01c6f359$66520cd0$0d00a8c0@agral.ru' \ --to=timur@agral.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git