Posts by Borygo77

    Have a look here ;) and read some earlier posts as well. Not sure why Klojum relating own vpn to piracy but that not my interest....


    This is my tinc.start file in /storage/.kodi/addons/http://service.system.tinc/bin


    After this you need to create vmnet_htpc folder in addon folder with normal tinc config and addon will start using this and not defaults

    Ah got you now. Well I'm using tinc addon and got access to whole home network from my workplace over one tcp port. It's slower than sshfs I was using before but just feeling more comfy with it.

    There is plenty of addons you can use. Wireguard is build in to Libre as well. If you can open one udp port it should be blazing fast.

    Just don't get what bottleneck you talking about? 40ms to resolve your domain name? ๐Ÿ˜‰

    Here you have simple sample of working samba share...

    192.168.1.111 is my other libreelec machine with 6TB of storage....

    This file is placed in /storage/.config/system.d/ folder ;)


    I just couldn't resist, didn't want to wait any longer and have settled my mind on the cheapest possible suitable intermediate solution, so I have now ordered a X96 Air with 4 GB RAM / 64 GB eMMC for 41.36 EUR = US $48.70 including express shipping from Germany.

    Thanks a lot for your guidance! :)

    Can you post a link to vendor or message me prive where did you got it from please.

    Need to get something fresh for myself as Im running daily on old s905x from sd card....

    So what would be best? I might try do same Subnet as my home Subnet is for vpn and try bridge eth0 with tun0.

    I don't think I can add static routes in Fritzbox which I got from my network provider. Again. Would like to have my openwrt as main router but this won't serve 1gbps connection ;)

    I'm really thankful that you answering all my question but I'm feeling really dumb speaking about networks, bridges and forwardings.. ๐Ÿ˜ณ


    edit; I do actually found this just now ๐Ÿ˜

    Configuring a static IP route in the FRITZ!Box | FRITZ!Box 4040 | AVM International

    Might try this first....

    Everything I was reading always said to not make vpn subnets same as host subnet is or you will get in troubles? ;)

    And it actually doesn't work when I change setup to 192.168.1.200 and 192.168.1.0/24 subnet

    Got also tp-link 1043v1 but it'll be too weak to serve any files for me I'm afraid :(

    My htpc old machine with x86 arch is working for me as emby server and is quite doing nothing so why not to give it another life ? ;)

    It was quite loud in living room so I switched to amlogic as my players connected to htpc....


    Think all I miss id some route from network 10.0.0.0/24 to 192.168.1.0/24 but I'm so lost with linux that I got no idea how to add it :(


    This is friend of mine OpenVPN server on strong machine

    Code
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    default         _gateway        0.0.0.0         UG    0      0        0 enp1s0
    10.8.0.0        0.0.0.0         255.255.255.0   U     0      0        0 tun0
    192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 enp1s0

    And this is how mine looks like

    Code
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    default         fritz.box       0.0.0.0         UG    0      0        0 eth0
    10.0.0.0        *               255.255.255.0   U     0      0        0 tun0
    192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
    192.168.1.254   *               255.255.255.255 UH    0      0        0 eth0


    And my proper iptables

    awiouy I begging you now for help! ;) I know you mastered all those things as I've seen your posts from years back about tinc...

    After couple days ofr esting from it I'm back with new ideas :)

    Managed to get my own config like you said using "$DIR_LEGACY" in your tinc.start

    So far so good. I'm connected and vpn ip works (can browse 10.0.0.1

    Need to add my home subnet and if possible have my home ip address as main mobile ip.

    Here is my tinc.conf

    tinc-up

    Bash
    #!/bin/sh
    ifconfig $INTERFACE 10.0.0.1 netmask 255.255.255.0

    tinc-down

    Bash
    #!/bin/sh
    ip addr del 10.0.0.1 dev $INTERFACE
    ip link set $INTERFACE down

    hosts/server

    hosts/mobile

    Code
    Subnet = 10.0.0.2/32
    Subnet = 192.168.1.0/24
    Ed25519PublicKey = =================================
    Port = 11443 
    Code
    HTPC:~ # ip route
    default via 192.168.1.254 dev eth0 
    10.0.0.0/24 dev tun0 scope link  src 10.0.0.1 
    172.17.0.0/16 dev docker0 scope link  src 172.17.0.1 
    172.18.0.0/16 dev br-cb2fc26669fb scope link  src 172.18.0.1 
    192.168.1.0/24 dev eth0 scope link  src 192.168.1.111 
    192.168.1.254 dev eth0 scope link 

    Then use the --config flag of the tinc/tincd commands to store your custom configuration in a separate directory, and follow the tinc documentation. It should not be too hard ;)

    Awiouy my tinc connection works.. I can browse samba shares on libreelec but nothing else in my home network... Forwarding is enabled but I would probably need to change some routes I think to get it going? Or whole setup need to be changed?