ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Snake <alexmexp@rambler.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] сетку в инет через vpn???
Date: Fri, 15 May 2009 11:13:29 +0300
Message-ID: <165777493.20090515111329@rambler.ru> (raw)
In-Reply-To: <200905151015.54375.trash4@yandex.ru>

To Guest007 <trash4@yandex.ru>

Friday, May 15, 2009, 9:15:54 AM, you wrote:
G> Приветствую
G> Упёрся лбом и не могу двинуться дальше в простой, в общем-то, задаче:
G> Поставил знакомым в небольшом офисе "школный сервер". Настроил, вроде сам по
G> себе работает, у меня в процессе настройки тоже вроде всё ОК.
....

Была похожая "проблема"
в NAT POSTROUTING добавил через альтератор
 -s 192.168.1.0/24 -d ! 192.168.1.0/24 -j MASQUERADE

 где 192.168.1.0/24 - моя локальная подсеть
 
и еще была проблема с некоторыми сайтами (проблема из-за MTU) поэтому пришлось добавить
iptables -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

На машинах в локалке прописал IP,DNS(я не знаю как прокинуть
автоматом, надо наверное подымать днс сервер) и шлюз.
На серваке нет прокси, интернет только через нат.

-- 
С наилучшими пожеланиями,
 Snake                            mailto:alexmexp@rambler.ru



  parent reply	other threads:[~2009-05-15  8:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-15  6:15 Guest007
2009-05-15  6:22 ` Dmitriy Kruglikov
2009-05-15  8:13 ` Snake [this message]
2009-05-15  9:48 ` Alexei Babich
2009-05-18  7:55   ` Guest007
2009-05-19  8:54 ` Guest007

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=165777493.20090515111329@rambler.ru \
    --to=alexmexp@rambler.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