From: "Nikolay(computer-service.ru)" <admin@computer-service.ru> To: "ALT Linux sysadmin discuss" <sysadmins@lists.altlinux.org> Subject: [Sysadmins] DNAT??? Date: Wed, 20 Dec 2006 11:39:15 +0300 Message-ID: <012c01c72412$55143f30$0200a8c0@mics.local> (raw) Здравствуйте уважаемое сообщество! Помогите решить проблемку. Есть 2 сети 192.168.0.* и 192.168.1.* между ними стоит ALT мастер 2.4(ядро 2.4) с двумя сетевыми картами и двумя ip(192.168.0.40 и 192.168.1.40) Нужно чтобы в одной сети(192.168.0.*) был виден комп другой(192.168.1.1) сети по определенному порту(80), но сети при этом друг друга не видели. Думаю надо использовать DNAT пишу в iptables -A PREROUTING -p tcp -d 192.168.1.1 --dport 80 -j DNAT --to-destination 192.168.0.40:80 Обращаюсь из сети 192.168.0.* к ip 192.168.0.40 на 80 порт и шиш чего.
next reply other threads:[~2006-12-20 8:39 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-12-20 8:39 Nikolay(computer-service.ru) [this message] 2006-12-20 8:50 ` Alexey Sidorov 2006-12-20 9:21 ` Nikolay(computer-service.ru) 2006-12-20 10:26 ` Alexander Volkov 2006-12-20 9:02 ` Anton Kvashin 2006-12-20 9:04 ` Nikolay(computer-service.ru) 2006-12-20 9:42 ` Alexander Volkov 2006-12-20 10:18 ` Andrii Dobrovol`s`kii 2006-12-20 19:10 ` Olvin 2006-12-21 8:44 ` Nikolay(computer-service.ru) 2006-12-22 15:44 ` Olvin 2006-12-22 15:53 ` Andrii Dobrovol`s`kii 2006-12-22 17:29 ` Michael Shigorin 2006-12-23 18:32 ` Olvin 2006-12-24 11:14 ` Alexander Volkov 2006-12-24 12:04 ` Michael Shigorin 2006-12-25 7:24 ` Nikolay(computer-service.ru) 2006-12-25 14:35 ` Olvin 2006-12-27 11:55 ` Ildar Mulyukov
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='012c01c72412$55143f30$0200a8c0@mics.local' \ --to=admin@computer-service.ru \ --cc=sysadmins@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 sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git