[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4758: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4760: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4761: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
linuxtv.fi • View topic - vnsi server

vnsi server

VDR ja DVB aiheista keskustelua

vnsi server

Postby juffe » 16.10.2017 19:28

Moi.
Miten saan yhteyden vnsi serveriin kotiverkon ulkopuolelta?
allowed_hosts.conf tiedostoa tietysti pitää mulkata, mutta en haluaisi antaa "# any host on any net (USE THIS WITH CARE!)" , jos tämä täppä on päällä homma toimii.
Mulla on clientti päässä no-ip.com palvelu joka siis kertoo ip:n vaikka olisi vaihtuva. Ei tunnu päästävän läpi, jos tuohon allowed_host.conf tiedostoon tyrkkää domainin suoraan eli xxx.sytes.net
syslog kertoo että ei päästetä läpi.
Miten tuon homman saisi toimimaan?
User avatar
juffe
Isäntä
 
Posts: 100
Joined: 30.08.2005 3:00

Re: vnsi server

Postby juffe » 16.10.2017 20:37

Ajattelin että saan toimimaan silleen että teen palomuurin ja hyväksyn pyynnöt osoitteesta xxx.sytes.net, mutta samaa marmattaa:

sudo ufw allow from xxx.sytes.net
ERROR: Bad source address

Äh miten kannattaa duunata jos clientti on eri maassa ja vaihtuvalla ip osoitteella?
User avatar
juffe
Isäntä
 
Posts: 100
Joined: 30.08.2005 3:00

Re: vnsi server

Postby P.Kosunen » 17.10.2017 14:03

P.Kosunen
Yli-ihminen
 
Posts: 1131
Joined: 06.11.2005 14:08
Location: Helsinki

Re: vnsi server

Postby juffe » 17.10.2017 19:59

Moi,
Päädyin ratkaisuun, jossa sallitaan vnsi serverille kaikki 0.0.0.0 ja iptables blokkaa kaikki paitsi sallitun ip:n. Salliminen tällä skriptillä: http://rdstash.blogspot.fi/2013/09/allo ... rough.html
Onko jotain vaarallista, eihän kuitenkaan allowed_host.conf hypi iptablesin edelle?
En saanut cronilla päivittymään, vaikka crontab -e komennolla lisäsin rivin: */10 * * * * root /home/pi/dnsallow.sh. Mikä tuossa mättää?
User avatar
juffe
Isäntä
 
Posts: 100
Joined: 30.08.2005 3:00

Re: vnsi server

Postby juffe » 18.10.2017 17:07

Komento oli väärin, homma toimii nyt. Tietenkin tuohon dnsallow.sh jälkeen piti laittaa domain.
User avatar
juffe
Isäntä
 
Posts: 100
Joined: 30.08.2005 3:00


Return to VDR & DVB

Who is online

Users browsing this forum: No registered users and 4 guests