1

Я разговаривал с представителем прова и он сказал что можна попробывать по pptp
Попробую отпишусь.

Trouble  in WINDOWS reboot, trouble in UNIX be root.

2

Так люди добрые. Помагайте.
Такой вопрос: для того чтобы поднять тунель через pptp нуна чтобы на сетевой карточке что смотрит в медиаконвертер была айпишка. Потому что мне в провайдера тока дали айпи сервера куда конектитса.
Состряпал я вот такой конфиг
ppp1

pty "/usr/sbin/pptp 10.9.9.8 --nolaunchpppd"
lock
noauth
nobsdcomp
nodeflate
defaultroute
name user
remotename pptp
ipparam pptp
debug
file /etc/ppp/options.pptp
persist

Это конфиг подключения. Делаю pppd call ppp1 и в логи сыплятса шумашедшо вот такое

+ открыть спойлер

Oct 13 14:24:23 s2 pppd[6884]: pppd 2.4.5 started by root, uid 0
Oct 13 14:24:23 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:23 s2 pptp[6885]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:23 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:23 s2 pppd[6884]: Modem hangup
Oct 13 14:24:23 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6886]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6887]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6888]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6889]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6890]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6891]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6892]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6893]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6894]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6895]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6896]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6897]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6898]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6899]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6900]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6901]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6902]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6903]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6904]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6905]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6906]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6907]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6908]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6909]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6910]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6911]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6912]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6913]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6914]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6915]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6916]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.
Oct 13 14:24:24 s2 pppd[6884]: Using interface ppp0
Oct 13 14:24:24 s2 pppd[6884]: Connect: ppp0 <--> /dev/pts/0
Oct 13 14:24:24 s2 pptp[6917]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Oct 13 14:24:24 s2 pppd[6884]: Modem hangup
Oct 13 14:24:24 s2 pppd[6884]: Connection terminated.

И такое сыпалось стока в лог что комп перестал по сети принимать запросы. Я конекчусь к нему отдалёно. Пришлось ребутить.

А вот что сыпалось в syslog

+ открыть спойлер

Oct 13 14:28:07 s2 pptp[15018]: anon warn[pptp_gre_bind:pptp_gre.c:100]: connect: Network is unreachable
Oct 13 14:28:07 s2 pptp[15018]: anon fatal[main:pptp.c:322]: Cannot bind GRE socket, aborting.
Oct 13 14:28:07 s2 pptp[15019]: anon warn[pptp_gre_bind:pptp_gre.c:100]: connect: Network is unreachable
Oct 13 14:28:07 s2 pptp[15019]: anon fatal[main:pptp.c:322]: Cannot bind GRE socket, aborting.
Oct 13 14:28:07 s2 pptp[15020]: anon warn[pptp_gre_bind:pptp_gre.c:100]: connect: Network is unreachable
Oct 13 14:28:07 s2 pptp[15020]: anon fatal[main:pptp.c:322]: Cannot bind GRE socket, aborting.
Oct 13 14:28:07 s2 pptp[15021]: anon warn[pptp_gre_bind:pptp_gre.c:100]: connect: Network is unreachable
Oct 13 14:28:07 s2 pptp[15021]: anon fatal[main:pptp.c:322]: Cannot bind GRE socket, aborting.
Oct 13 14:28:07 s2 pptp[15022]: anon warn[pptp_gre_bind:pptp_gre.c:100]: connect: Network is unreachable
Oct 13 14:28:07 s2 pptp[15022]: anon fatal[main:pptp.c:322]: Cannot bind GRE socket, aborting.
Oct 13 14:28:07 s2 pptp[15023]: anon warn[pptp_gre_bind:pptp_gre.c:100]: connect: Network is unreachable
Oct 13 14:28:07 s2 pptp[15023]: anon fatal[main:pptp.c:322]: Cannot bind GRE socket, aborting.

Так что я делаю неправильно. Мне нуна к провайдеру за айпишкой сбегать или как?????

Trouble  in WINDOWS reboot, trouble in UNIX be root.

3

У себя на сервере включить модуль ядра для GRE и в iptables разрешить. Так же это может быть, когда пров блокирует GRE протокол. Давольно часто такое бывает.

MX Linux 21.2 x86_64
Чем больше я работаю админом, тем больше понимаю, насколько волшебна фраза - "Нет технической возможности!"

4

modprobe ip_gre
modprobe ip_nat_pptp
modprobe ip_conntrack_pptp

MX Linux 21.2 x86_64
Чем больше я работаю админом, тем больше понимаю, насколько волшебна фраза - "Нет технической возможности!"

5

GRE ходит по IP, номер протокола 47. Узнавайте у провайдера ip адреса, свой и шлюза.

6

Да по ходу для pptp мне ещё нуна к прову за сетевыми настройками.

Trouble  in WINDOWS reboot, trouble in UNIX be root.

7

Попробывал с теме настройками что дал пров изначально, поверх рррое хотел ВПН замутить, но по ходу у меня неправильный пользователь и пароль. Так что щас это не актуально.

Trouble  in WINDOWS reboot, trouble in UNIX be root.