Linux

ID #1211

Конфигурационный файл OpenVPN Linux


Многие скачивают конфигурационный файл client.ovpn с клиентского интерфейса подписки предназначенный для Windows OS.
Такой конфиг файл работать в Linux не будет.

Необходимо скачать последнюю версию OpenVPN для linux с сайта http://openvpn.net/ и LZO библиотеку http://www.oberhumer.com/opensource/lzo/ (полный пакет). OpenVPN собрать с поддержкой LZO.

Ниже приведены конфиг файлы для Intelsat 904, Yamal 200 Ku, Yamal 202 C, Express AM1, ABS-1, Sirius-4, Express AM22.
Перед запуском скрипта нужно прописать IP адрес нашего сервера в таблице маршрутизации через Вашего наземного провайдера.

IPадресНашегоСервера - для Intelsat 904(платформа A,B и C) - 80.81.208.82
IPадресНашегоСервера - для Yamal 200 Ku - 80.81.208.66
IPадресНашегоСервера - для Yamal 202 C - 217.17.162.2
IPадресНашегоСервера - для ABS-1
- 81.222.123.2
IPадресНашегоСервера - для Sirius-4 - 81.222.123.4
IPадресНашегоСервера - для Express AM1- 80.81.209.162
IPадресНашегоСервера - для Express AM22 - 80.81.209.163

/sbin/ip route add IPадресНашегоСервера via ВашIPшлюзаНаземного src ВашIPадресИсходящийНаземный

Сокращения:

1. Номер порта в строке "port НомерПорта" берется с Windows конфиг файла.
2. IP адрес в строке "ifconfig ВашIPадресПодписки 255.255.255.0" берется с клиентского интерфейса подписки.
3. Строки "comp-lzo" и "comp-noadapt" включаются по их наличию в windows конфиге.
4. Строки "ca /etc/openvpn/ca.crt", "cert /etc/openvpn/ВашЛогинПодписки.crt", "key /etc/openvpn/ВашЛогинПодписки.key" после скачивания сертификатов и ключей с клиентского интерфейса подписки.

dev tap
port НомерПорта
proto udp
remote IPадресНашегоСервера

comp-lzo
comp-noadapt

ifconfig ВашIPадресПодписки 255.255.255.0

route-noexec
tun-mtu 1400
tls-client

ca /etc/openvpn/ca.crt
cert /etc/openvpn/ВашЛогинПодписки.crt
key /etc/openvpn/ВашЛогинПодписки.key

ns-cert-type server
user nobody
group nobody
verb 4

Для Intelsat 904(платформа А, B и C) сменить IP адрес сервера:

remote 80.81.208.82

Для Yamal 200 Ku сменить IP адрес сервера:

remote 80.81.208.66

Для Yamal 202 C сменить IP адрес сервера:

remote 217.17.162.2

Для Express AM1 сменить IP адрес сервера:

remote 80.81.209.162

Для ABS-1 сменить IP адрес сервера:

remote 81.222.123.2

Для Sirius-4 сменить IP адрес сервера:

remote 81.222.123.4

Для Express AM22 сменить IP адрес сервера:

remote 80.81.209.163

 

Проверка работы.

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

/sbin/ip route add IPадресСервернойСтороныТуннеля dev tap0

Где IPадресСервернойСтороныТуннеля это ВашIPадресПодписки только в последнем разряде должна быть всегда "1".

Пример для Intelsat 904 и подписки, у которой ВашIPадресПодписки 10.255.255.27:

/sbin/ip route add 10.255.255.1 dev tap0

Пакеты должны уходить в туннель tap0, а ответы приходить через DVB карту.

Проверить возможность получения потока DVB картой:

tcpdump -i dvb0_0 -n (именно только -n, без параметра -p)

Если виден трафик всего транспондера, значит DVB карта нормально настроена. Иначе - переустанавливать драйвера карты, проверять карту под другой OS, менять ядро.

После этого можно удалить роут по умолчанию и прописать роут через туннель tap0:

Пример для Intelsat 904:
/sbin/ip route del default
/sbin/ip route add default via IPадресСервернойСтороныТуннеля src ВашIPадресПодписки

С уважением Радуга-Интернет

Записи: -

Связанные записи:

Последние обновление: 2008-01-11 12:55
Опубликовал: Maksim
Оценка: 1.317

Digg it! Отправить на печать Отправить другу Скомпилировать PDF файл
Предложить перевод на Предложить перевод на
Пожалуйста оцените этот ответ:

Рейтинг ответа: 2.5 из 5 (2 Голосов )

Так себе 1 2 3 4 5 Очень
сильно помог

Вы можете оставить свой комментарий

Comment of Monday:
hll20180112 adidas yeezy ugg outlet canada goose outlet coach outlet ralph lauren mulberry handbags ugg outlet north face jackets michael kors outlet cheap nfl jerseys pandora charms sale clearance michael kors canada north face jackets cheap uggs longchamp outlet burberry outlet canada canada goose outlet michael kors coach factory outlet cheap jordans free shipping adidas outlet nike shoes canada goose outlet nike air max adidas yeezy ugg boots canada fitflops sale clearance moncler jackets ugg outlet north face jackets adidas nmd ray ban sunglasses nike outlet online coach outlet cheap ray ban sunglasses coach bags coach outlet cheap jordans adidas yeezy boost philipp plein outlet coach outlet coach factory outlet ray ban sunglasses air max 2018 timberland boots cheap uggs ugg boots michael kors outlet hermes handbags pandora charms sale clearance ugg boots moncler jackets cheap mlb jerseys china air jordans oakley sunglasses polo ralph lauren outlet uggs michael kors canada ugg outlet ralph lauren outlet burberry outlet moncler outlet canada goose uk coach outlet store online cheap oakley sunglasses ralph lauren air max 97 coach factory outlet online ugg australia coach outlet store online clearances coach outlet columbia sportswear pandora jewelry ugg boots jordan shoes gucci handbags cheap jordans ugg outlet online coach factory outlet coach canada michael kors uk moncler jackets polo ralph lauren outlet online ralph lauren outlet polo ralph lauren outlet pandora jewelry hermens bags pandora charms uk polo ralph lauren outlet online ray ban sunglasses north face outlet ralph lauren outlet ralph lauren outlet burberry sale polo ralph lauren outlet north face outlet north face outlet online louis vuitton outlet adidas campus kate spade handbag cheap nfl jerseys adidas nmd canada goose jackets louis vuitton outlet kate spade birkenstock sandals michael kors outlet store michael kors outlet clearance nike outlet michael kors outlet nike shoes nike outlet store coach outlet canada goose uk polo outlet pandora charms uggs outlet oakley sunglasses nfl jerseys wholesale louis vuitton outlet online cheap ugg boots oakley sunglasses ugg outlet coach canada canada goose ugg boots pandora charms philipp plein shirt ralph lauren uk ugg outlet moncler uk michael kors outlet coach outlet polo ralph lauren outlet online burberry outlet store adidas yeezy pandora charms sale ralph lauren uk ray ban sunglasses michael kors outlet clearance christian louboutin yeezy boost 350 longchamp outlet online ugg outlet kate spade outlet moncler outlet canada goose outlet coach factory outlet jordan retro 11 michael kors outlet canada goose jackets uk cheap ray ban sunglasses longchamp handbags yeezy 350 boost michael kors outlet clearance coach outlet air jordan shoes christian louboutin outlet gucci outlet coach outlet store nike outlet moncler jackets moncler louis vuitton ugg boots on sale air max 2018 pandora jewelry moncler coats coach outlet store canada goose outlet coach factory outlet fitflops cheap oakley sunglasses cheap ray bans ugg outlet ugg boots ralph lauren outlet moncler jackets ugg ustralia coach outlet store coach factory outlet moncler outlet pandora charms the north face canada goose jackets cheap jordans adidas shoes canada goose canada goose jackets canada goose outlet michael kors handbags coach factory outlet coach outlet ugg outlet ralph lauren outlet michael kors outlet clearance pandora charms ugg outlet hermes outlet ugg outlet canada goose timberland outlet ralph lauren uk longchamp handbags coach outlet coach outlet adidas superstar canada goose outlet ugg shoes burberry outlet canada goose jackets michael kors outlet online coach outlet online kate spade outlet store nmd adidas jordan shoes timberland boots outlet air max 97 canada goose jackets nmd shoes valentino shoes outlet pandora ray ban sunglasses coach outlet michael kors outlet canada goose sale hermes handbags pandora charms salvatore ferragamo shoes kate spade handbags adidas yeezy air max 2017 canada goose uk oakley sunglasses sale michael kors outlet clearance coach factorty outlet ferragamo shoes michael kors outlet ugg outlet fitflops supreme clothing ugg boots ugg boots for women coach factorty outlet polo ralph lauren north face jackets ralph lauren sale clearance oakley sunglasses timberland boots canadian goose ralph lauren uk mbt coach outlet store ugg outlet canada goose outlet valentino shoes canada goose outlet ultra boost pandora outlet nmd adidas christian louboutin outlet canada goose coach outlet coach factory outlet canada goose ugg boots christian louboutin outlet adidas nmd coach outlet kate spade outlet cheap ray ban sunglasses kate spade yeezy boost coach factory outlet canada goose jackets birkenstocks pandora jewelry supreme new york longchamp uk ralph lauren outlet cheap nfl jerseys yeezy boost coach outlet cheap mlb jerseys jordan retro michael kors outlet coach outlet jordans michael kors outlet pandora jewelry mulberry bags canada goose sale pandora charms sale yeezy boost pandora store mbt shoes moncler outlet burberry outlet michael kors outlet ugg outlet canada goose coats doudoune moncler coach outlet canada goose outlet yeezy boost ferragamo outlet adidas yeezy boost canada goose outlet adidas yeezy nike store polo ralph lauren outlet online nike outlet pandora outlet mbt shoes cheap jordans christian louboutin louboutin shoes north face outlet adidas outlet canada goose pandora charms ugg boots polo ralph lauren outlet harden vol 1 coach handbags adidas shoes air jordan shoes ugg boots ralph lauren outlet pandora charms sale clearance michael kors handbags louis vuitton outlet store uggs outlet red bottom shoes uggs clearance moncler outlet coach outlet fred perry polo coach factory outlet canada goose uk louboutin shoes mulberry outlet canada goose clothing kate spade outlet pandora charms adidas michael kors outlet adidas shoes coach outlet online fitflops supreme clothing michael kors outlet ugg shoes coach factory outlet online ralph lauren outlet michael kors factory outlet uggs outlet fitflops sale longchamp outlet kate spade outlet store hermes handbags canada goose jackets coach outlet uggs canada ralph lauren outlet michael kors outlet store fred perry canada goose outlet canada goose uk cat boots oakley sunglasses nike outlet store ugg boots louis vuitton outlet online ugg outlet store canada goose outlet ugg outlet ralph lauren outlet adidas yeezy boost mulberry uk cheap jordans canada goose sale coach factory outlet michael kors outlet michael kors outlet online adidas superstar ugg outlet coach outlet ugg outlet salvatore ferragamo supreme clothing pandora charms kate spade bags ugg outlet moncler adidas shoes canada goose outlet michael kors outlet moncler outlet nfl jerseys wholesale jordan shoes fitflops sale clearance nike shoes canada goose outlet cheap uggs michael kors handbags coach outlet canada goose outlet nike zoom ugg outlet yeezy boost michael kors outlet canada goose jackets adidas outlet burberry coach outlet store ugg sale ugg boots on sale pandora jewelry outlet tory burch outlet ugg boots moncler jackets outlet polo ralph lauren outlet louis vuitton outlet store polo ralph lauren outlet online canada goose coach factory outlet red bottoms louis vuitton outlet canada goose sale oakley sunglasses hermes birkin hermes bags uggs canada adidas nmd ralph lauren outlet nike air max canada goose outlet ralph lauren outlet adidas shoes pandora outlet ugg boots canada goose outlet red bottoms shoes uggs michael kors outlet online ray ban sunglasses discount ralph lauren sale clearance ugg boots air jordans polo outlet tory burch outlet store uggs cheap jordans for sale michael kors outlet cheap uggs coach factory outlet nike shoes for men discount oakley sunglasses hll20180112
Added at: 2018-01-11 10:36

Comment of abc:
abc20180519 cheap jordans for sale pandora jewelry outlet hermens merrell shoes pandora charms outlet air force 1 adidas nmd r1 air max ralph lauren sale clearance uk michael kors outlet store cheap jordan shoes coach outlet store online tiffany and co outlet michael kors handbags tods shoes michael kors outlet store pandora charms sale ray ban sunglasses discount jordan shoes mcm outlet store ralph lauren uk pandora charms outlet cheap jordans coach outlet online nike cortez classic cheap oakley sunglasses kate spade outlet online fitflop shoes florsheim shoes cheap jordan shoes moncler outlet online reebok outlet teva shoes nike tessen ray bans cheap ray ban sunglasses jimmy choo outlet christian louboutin shoes dolce and gabbana handbags basketball shoes canada goose coats coach factory outlet kate spade outlet online adidas yeezy shoes air max 270 coach factorty outlet store michael kors outlet store adidas yeezy boost michael kors canada coach factory outlet online moncler uk coach factory outlet online north face outlet discount oakley sunglasses ysl outlet salvatore ferragamo shoes kate spade handbags nike cortez classic michael kors outlet online michael kors outlet clearance wolverine boots pandora charms birkenstock shoes ralph lauren sale fitflops uk louboutin shoes yeezy boost 350 berluti shoes tory burch outlet online givenchy handbags kate spade outlet online swarovski outlet pandora jewelry outlet john lobb boot maker shoes cole haan shoes kenneth cole shoes uggs outlet adidas nmd runner canada goose jackets oakley sunglasses outlet michael kors handbags asics outlet store pandora charms ugg outlet store caterpillar boots converse shoes canada goose jackets gap polo shirts adidas outlet online kate spade outlet online canada goose sale coach outlet online ralph lauren outlet tiffany outlet ralph lauren uk yeezy shoes fitflops sale clearance nfl jerseys coach outlet store online coach factory outlet online nike shox shoes oakey sunglasses outlet store coach canada outlet tory burch handbags moncler outlet online columbia shoes cheap jordan shoes canada goose jacket new balance outlet air jordan retro michael kors outlet clearance michael kors outlet store uggs outlet supra for sale cartier watches pandora jewelry louboutin shoes ugg boots outlet pandora jewelry outlet yeezy boost 350 nike air max 2018 coach outlet store michael kors outlet online red bottoms armani exchange skechers outlet pandora sale clearance coach outlet online bally outlet dior handbags teva sandals pandora jewelry pandora uk pandora charms red bottom heels gucci outlet online canada goose jackets coach outlet online moncler outlet online michael kors canada salomon outlet fitflop sandals coach outlet online coach outlet online michael kors outlet store adidas shoes yeezy shoes oakley sunglasses outlet unomagli shoes kyrie 4 michael kors outlet coach outlet store online coach outlet canada nike huarache shoes supreme uk coach outlet online canada goose pandora charms outlet pandora canada air more uptempo nike sneakers mlb jerseys fendi handbags underarmour outlet birkenstock outlet store coach factorty outlet online ralph lauren outlet online nba jerseys cheap pandora charms ralph lauren outlet online birkenstock sandals vans outlet kate spade outlet online coach factory outlet online timberland outlet chch handbags alden shoes gucci outlet online canada goose jackets uk kate spade bags air max 95 gucci outlet hermes bag coach factorty outlet store polo ralph lauren outlet rolex replica watches philipp plein outlet mlb jerseys cheap dansko shoes puma outlet the north face jackets coach factory outlet online birkenstock outlet online air more money ugg boots adidas ultra boost adidas outlet allen edmonds shoes air max axis coach outlet store michael kors outlet online adidas originals givenchy outlet pandora charms outlet yeezy boost fitflop uk moncler uk cheap nfl jerseys wholesale moncler coats polo ralph lauren outlet online pandora rings pandora charms sale clearance longchamp sale christian louboutin shoes canada goose jackets pandora charms sale timberland outlet johnston and murphy outlet canada goose jackets hermes bags kate spade handbags nike react shoes ugg boots air max outlet coach outlet online cheap oakley sunglasses cheap ray ban sunglasses cheap air max fred perry outlet air jordan shoes canada goose birkin handbags nike air presto louis vuitton outlet online kate spade outlet coach factory outlet cheap ugg boots versace handbags pg 2 shoes coach outlet store online coach outlet mcm bags toms outlet store hermes bags cheap air jordans arcteryx boots coach outlet online louis vuitton outlet store prada outlet online michael kors canada keen sandals ray ban sunglasses outlet canada goose coach outlet online the north face outlet coach outlet store online rolex replica watches coach factorty outlet online michael kors outlet store canada goose jackets ray ban sunglasses outlet nike outlet salewa shoes ugg canada pandora jewelry canada goose sale ugg boots pandora outlet hollister clothing store polo ralph lauren outlet online pandora outlet store michael kors outlet online canada goose coach factory outlet online coach outlet valentino mulberry mulberry uk supreme shirts valentino outlet ugg outlet online michael kors outlet clearance canada goose jackets pandora charms sale clearance ugg outlet store red wing outlet nike air max zero burberry outlet online coach outlet online kate spade outlet store mbt shoes sale canada goose sale cheap oakley sunglasses adidas sneakers nike outlet store air max 87 adidas outlet online pandora jewelry asics outlet air max shoes red bottom ralph lauren sale air max 90 nike outlet store vans outlet store michael kors outlet store tiffany and co jewelry canada goose parka dr martens boots jordan shoes ugg outlet pandora charms outlet mbt cheap jordan shoes polo outlet online kate spade outlet online birkenstock outlet pandora outlet oakley sunglasses wholesale ralph lauren sale clearance uk fitflops sale michael kors outlet online ugg boots women vasque shoes discount oakley sunglasses michael kors nike air max 2019 coach outlet online coach outlet online ecco outlet kate spade outlet mlb jerseys cheap christian louboutin sale jimmy choo michael kors outlet online ugg outlet online timberland boots outlet ralph lauren outlet van cleef and arpels jewelry yeezy boost 350 canada goose sale nike outlet store kate spade outlet fitflops sale ysl handbags coach outlet online supra for sale harden vol 1 harry winston jewelry pandora charms sale adidas shoes mont blanc pens canada goose coats moncler jacket nike zoom shoes nike outlet online cheap jordans free shipping coach factory outlet online longchamp outlet store hermes handbags timberland outlet store nike air max 97 abercrombie and fitch canada valentino outlet yeezy shoes ferragamo outlet mulberry outlet uk adidas outlet store louis vuitton factory outlet philipp plein pandora charms outlet polo ralph lauren adidas nmd r1 salomon shoes supreme shirts michael kors outlet online fitflops sale michael kors outlet online nike shoes outlet adidas outlet store prada shoes nike free 5.0 ralph lauren uk coach outlet store online clearance mulberry handbags nike free 3.0 canada goose adidas yeezy pandora jewelry store adidas campus shoes swarovski crystal coach outlet store polo ralph lauren outlet garmont boots cheap air jordans adidas superstars burberry outlet canada adidas yeezy boost 350 pandora charms sale clearance moncler outlet online nike air max 97 toms outlet online polo ralph lauren outlet online salvatore ferragamo vionic sandals louboutin outlet nike shoes coach factory outlet asolo boots nba jerseys wholesale michael kors bags ugg sale durant shoes louis vuitton outlet online nike sneakers tory burch outlet online coach factory outlet online naot sandals manolo blahnik shoes michael kors outlet store adidas store mammut boots reef sandals coach outlet online burberry handbags salvatore ferragamo outlet prana clothing adidas yeezy boost mlb jerseys wholesale givenchy handbags yeezy boost 350 cheap air jordans ralph lauren birkenstock uk chopard watches air foamposite converse outlet coach factory outlet louis vuitton outlet louboutin outlet coach outlet store online kobe shoes coach factory outlet online adidas nmd r1 air max retro 11 coach factory outlet cheap ray ban sunglasses coach factory outlet michael kors outlet online michael kors outlet clearance moncler coats coach factory outlet online tory burch shoes coach outlet online hermes outlet air jordans converse all star ralph lauren outlet online fitflops sale clearance cole haan outlet pandora jewelry christian louboutin shoes canada goose dooney and bourke handbags polo ralph lauren outlet burberry outlet store timberland outlet louis vuitton handbags nmd adidas cheap nike shoes nike huarache shoes ugg boots coach outlet online nike air max 2018 mbt salvatore ferragamo shoes polo ralph lauren outlet fitflop sandals air max 1 supreme clothing louis vuitton factory outlet toms shoes birkenstock outlet kate spade outlet moncler cheap jordans ecco shoes for women cheap jordan shoes ralph lauren outlet online ecco outlet mont blanc pen moncler jackets oakey sunglasses outlet coach canada canada goose outlet store moncler sale nfl jerseys ugg boots sale michael kors handbags louis vuitton outlet adidas yeezy epic react flyknit coach factorty outlet online jordan shoes for sale dr martens discount oakley sunglasses mikimoto pearls ralph lauren kobe shoes uggs outlet nike air max 90 ralph lauren outlet online ferragamo shoes birkenstock sale saint laurent outlet air max shoes rihanna shoes michael kors outlet nike zoom columbia outlet adidas superstar shoes moncler jackets jordans timberland shoes christian louboutin shoes adidas outlet online birkenstock outlet store longchamp bags nike outlet vasque boots nike dunks birkenstock shoes outlet kate spade outlet online rolex replica watches for sale lacoste polo shirts longchamp outlet ralph lauren outlet canada goose jackets coach outlet online lebron james shoes michael kors outlet clearance cheap oakley sunglasses salvatore ferragamo outlet polo ralph lauren outlet coach factory outlet online adidas stan smith ecco outlet fred perry polo shirts moncler sale the frye company shoes saint laurent handbags danner boots polo ralph lauren cheap jordan shoes ralph lauren uk red wing shoes coach factory outlet nike running shoes pandora charms outlet nike outlet online abercrombie kids ralph lauren outlet online canada goose jackets keen shoes kate spade handbags cheap jordan shoes tory burch outlet store lowa boots dr martens boots jimmy choo shoes ecco shoes timberland boots nike outlet store online ray ban glasses coach factory outlet online adidas yeezy boost new balance outlet store kate spade handbags abc20180519
Added at: 2018-05-19 10:50