ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "altconf@gmail.com" <altconf@gmail.com>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] OpenVPN и два провайдера
Date: Mon, 26 Oct 2009 17:30:17 +0300
Message-ID: <4AE5B279.4010007@gmail.com> (raw)
In-Reply-To: <20091026140916.GC4509@vladregion.ru>

UDP
есть вот такой сайт
Два шлюза в Интернет и OpenVPN  
http://www.xgu.ru/wiki/%D0%94%D0%B2%D0%B0_%D1%88%D0%BB%D1%8E%D0%B7%D0%B0_%D0%B2_%D0%98%D0%BD%D1%82%D0%B5%D1%80%D0%BD%D0%B5%D1%82_%D0%B8_OpenVPN
параграф "Маршрутизация с двумя шлюзами " там утверждают, что должно 
работать, но у меня никак не получается, может если настроить TCP ?

> On 2009-10-26 14:22:39 +0300, altconf@gmail.com wrote:
> agc> Всем привет!
> agc> Есть два провайдера A и U (провайдеры)
> agc> U - провайдер (шлюз по умолчанию)- pppoe 
> agc> настроен на сервере IP глобальный
> agc> A - провайдер - pppoe настроен на модеме (dmz 
> agc> вклёчен)
> agc> Все сервисы работают нормально(при 
> agc> обращении из вне на ssh или http или ftp - через 
> agc> какой интерфейс пришел запрос через тот 
> agc> и уходит ответ) кроме openVPN.  Если пытаюсь 
> agc> соединиться openVPN через провайдера A то 
> agc> ответы уходят через провайдера U.
> agc> 
> agc> [root@gate wanaaa]# cat ipv4route
> agc> default via 192.168.23.1 table cts.inout
> agc> 
> agc> [root@gate wanaaa]# cat ipv4rule
> agc> from 192.168.23.2 table cts.inout
> agc> from 192.168.98.1 table cts.inout
> agc> from 192.168.98.1 to 192.168.100.0/24 table main
> agc> 
> agc> В чем может быть проблема?
>
> Протокол какой используете, tcp или udp?
> udp, как правило, работает только на шлюзе по умолчанию.
>
> --
>  Regards, Alexander
>
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
>   




  reply	other threads:[~2009-10-26 14:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-26 11:22 altconf
2009-10-26 11:27 ` Руслан Писарев
2009-10-26 11:40   ` altconf
2009-10-26 11:46     ` Руслан Писарев
2009-10-26 13:55       ` altconf
2009-10-26 14:09 ` Alexander Volkov
2009-10-26 14:30   ` altconf [this message]
2009-10-26 14:52   ` altconf
2009-10-27  8:44   ` Pavel
2009-10-30 12:07   ` Anton Farygin
2009-10-30 12:36     ` Alexander Volkov

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=4AE5B279.4010007@gmail.com \
    --to=altconf@gmail.com \
    --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