Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ewgenik

Pages: [1]
1
Russian / Как узнать запущены ли X
« on: August 31, 2014, 06:01:50 pm »
Отключил GUI на удаленном компьютере.
GRUB_CMDLINE_LINUX_DEFAULT="text" > etc/default/grub
sudo update-grub

Как убедиться что X не запускаются? Физ. доступа к компу нет.

2
Попробуйте вместо "Тоже самое" указать необходимые целевые порты.

3
Russian / Не получается Zentyal-to-Zentyal tunnel
« on: April 28, 2014, 11:54:02 am »
Пытаюсь смоделировать объединение двух удаленных офисов.
Настроил все по этой http://doc.zentyal.org/en/vpn.html инструкции.

Zentyal Office01
eth0 100.200.50.1 - типа инет
eth1 172.16.1.1 - локалка 1го офиса

Zentyal Office02
eth0 100.200.50.2 - типа инет
eth1 172.16.2.1 - локалка 2го офиса

В качестве VPN сервера Zentyal Office02.
Настройки отличающиеся от дефолтовых:
TCP/1194
TUN Interface
Zentyal-to-Zentyal tunnels

vpn поднимается, но в результате с ZentyalOffice01 не пингуется локалка второго офиса "network is unreachable" (и наоборот, с ZentyalOffice02 не пингуется локалка первого офиса)

После поднятия VPN ipconfig`и следующие

Code: [Select]
eth0 Link encap:Ethernet HWaddr ba:e9:fl:cf:46:ae
inet addr:100.200.50.1 Bcast:100.200.50.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2598 errors:0 dropped:0 overruns:0 frame:0
TX packets:2502 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:255305 (255.3 KB) TX bytes:275922 (275.9 KB)

ethl Link encap:Ethernet HWaddr 8e:ba:f9:66:38:03
inet addr:172.16.1.1 Bcast:172.16.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:172.16.3.6 P-t-P:172.16.3.5 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100
RX bytes:84 (84.0 B) TX bytes:252 (252.0 B)


route Kernel IP routing table
100.200.50.0 * 255.255.255.0 U 0 0 0 eth0
172.16.1.0 * 255.255.255.0 U 0 0 0 eth1
172.16.3.0 172.16.3.5 255.255.255.0 UG 0 0 0 tun0
172.16.3.5 * 255.255.255.0 UH 0 0 0 tun0

Code: [Select]
eth0 Link encap:Ethernet HWaddr 4e:cc:4d:c0:1a:30
inet addr:100.200.50.2 Bcast:100.200.50.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2201 errors:0 dropped:0 overruns:0 frame:0
TX packets:2281 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:213945 (213.9 KB) TX bytes:258492 (258.4 KB)


ethl Link encap:Ethernet HWaddr ca:7c:lc:e7:36:6d
inet addr:172.16.2.1 Bcast:172.16.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:172.16.3.1 P-t-P:172.16.3.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:252 (252.0 B) TX bytes:384 (384.0 B)

Kernel IP routing table
100.200.50.0 * 255.255.255.0 U 0 0 0 eth0
172.16.2.0 * 255.255.255.0 U 0 0 0 ethl
172.16.3.0 172.16.3.2 255.255.255.0 UG 0 0 0 tun0
172.16.3.2 * 255.255.255.255 UH 0 0 0 tun0

Что я делаю не верно?

Pages: [1]