|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Alexander Krisak 2:5020/400 25 Sep 2001 17:47:28 To : Volovik Dmitry Subject : Re: Forward. -------------------------------------------------------------------------------- Приветствую Вас уважаем[ый|ая|ые] Воловик Дмитрий > Sorry, если вопрос задан невнятно. Пробую уточнить: > Имеется Mandrake 7.0, используется встроенный firewall. Читая IPCHAINS-HOWTO > нашёл фразу: > Another approach (which requires a 2.0 kernel patched for ipportfw, or a 2.1 > or later kernel) is to use port forwarding in the kernel. This does the same > job as "redir" in a different way: the kernel rewrites packets as they pass > through, changing their destination address and ports to point them at an > internal host and port. From the Internet's point of view, the connection is > made to your firewall. From your internal server's point of view, a direct > connection is made from the Internet host to the server. > > А как реализовать это дело не понятно. если ядро 2.2.x то наверное что-то типа ipchains -A forward -s 192.168.1.0/24 -j MASQ echo 1 > /proc/sys/net/ipv4/ip_forward а вообще сходи на http://www.opennet.ru там про это есть статейка -- С наилучшими пожеланиями Александр mailto:akrisak@mail.ru --- ifmail v.2.15dev5 * Origin: Severodonetsk-InterNetNews site (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/8247e777316f.html, оценка из 5, голосов 10
|