Убунту: Подешавање ДинДНС сервера
ДинДНС сервер можете поставити под Убунту ако желите да дођете до рачунара са Интернета. Све што вам треба је налог са динамичном ДНС услугом и мали део софтвера који ажурира ваш ИП код динамичког ДНС провајдера. Услуге сервера су већ доступне странцима.
Подесите ДинДНС сервер за Убунту - изаберите провајдера
Прво изаберите провајдера који у програму има динамичне ДНС услуге. Поред најпознатијег, ДинДНС, постоји и већи број бесплатних провајдера. У нашем прегледу бесплатних ДинДНС алтернатива наћи ћете бројне провајдере.
- Креирајте налог код даватеља услуге по вашем избору.
- Запишите податке за свој динамични ДНС клијент. Такође проверите на који сервер се касније можете пријавити помоћу ДНС клијентског програма и који протокол користи провајдер. Многи провајдери нуде сопствени програм који ажурира ваш налог и преноси ИП адресе Убунту ПЦ-а - али већина их је за Виндовс.
- Са новим налогом, корисничким именом, лозинком, протоколом и адресом сервера за динамичког ДНС клијента, сада можете ићи у сопствену мрежу. Запишите адресу коју сте сами изабрали према шеми „меинеадрессе.динднс.орг“.
Подесите усмјеривач и инсталирајте ддцлиент
Да се ваш интерни ИП у кућној мрежи не мења стално, најбоље је резервисати фиксни ИП са ДХЦП сервером у рутеру. Затим можете проследити одговарајуће портове Убунту-у. Сада вам је потребан само програм ддцлиент и ваш Убунту рачунар је доступан споља:
- Пријавите се на свој рутер и резервишите фиксну ИП адресу за свој Убунту ПЦ на ДХЦП серверу. У овом водичу можете сазнати како доћи. Често је довољно да у системским подешавањима под „Мрежа“ унесете ручни ИП.
- Сада потражите мени за преусмеравање портова или „Преусмеравање портова“ на рутеру. У зависности од тога које услуге касније желите да користите са рачунаром Убунту споља, требало би да проследите одговарајуће портове. ХТТП користи, на пример, прикључак 80, ФТП порт 20 и ССХ порт 22.
- Сада сте поставили усмјеривач, сада инсталирајте динамички ДНС клијент. Отворите терминал у Убунтуу и откуцајте ову наредбу:> судо апт-гет инсталл ддцлиент <. Потврдите команду лозинком и следите упутства.
- Од вас ће се сада питати којег динамичног ДНС провајдера сте одабрали. Ако не можете да пронађете свог провајдера на листи, изаберите „остало“ и прибавите своје податке за пријаву, протокол и адресу сервера вашег провајдера.
- На питање о динамичком ДНС серверу унесите адресу (на пример "мемберс.динднс.орг"). Затим подесите протокол (на пример "динднс2") и на крају своје податке за пријаву.
- За мрежни интерфејс изаберите етх0 за кабловску мрежу или влан0 за радио везу. Тада се тражи име домене, тј. Адреса на којој ћете касније моћи бити доступни ван. Унесите ово у потпуности.
- Готово сте готови: ддцлиент је сада постављен и тада се може покренути ручно помоћу наредбе> судо сервице ддцлиент старт <. Сада вас могу контактирати са Интернета. Слободно се брините о сигурности и искључите све услуге и портове до којих не морате нужно да стижете споља.
Ако никада раније нисте били на вашем усмјеривачу, прочитајте овај практични савјет како да конфигуришете рутер.