Jump to content

peter_sm

Community Developer
  • Posts

    2,273
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by peter_sm

  1. my ifconfig

    
    root@Tower:~# ifconfig
    br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.0.190  netmask 255.255.255.0  broadcast 0.0.0.0
            ether 0c:c4:7a:07:a8:c8  txqueuelen 1000  (Ethernet)
            RX packets 2926  bytes 2098109 (2.0 MiB)
            RX errors 0  dropped 125  overruns 0  frame 0
            TX packets 2435  bytes 600937 (586.8 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 172.17.0.1  netmask 255.255.0.0  broadcast 0.0.0.0
            ether 02:42:c4:9b:71:d6  txqueuelen 0  (Ethernet)
            RX packets 631  bytes 279908 (273.3 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 734  bytes 270606 (264.2 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    eth0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST>  mtu 1500
            ether 0c:c4:7a:07:a8:c8  txqueuelen 1000  (Ethernet)
            RX packets 4173  bytes 3599813 (3.4 MiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 3826  bytes 668558 (652.8 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 18  memory 0xfb500000-fb520000
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.255.255.255
            loop  txqueuelen 1  (Local Loopback)
            RX packets 886  bytes 611925 (597.5 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 886  bytes 611925 (597.5 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
            inet 10.28.0.1  netmask 255.255.255.255  destination 10.28.0.2
            unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 100                                                                                        (UNSPEC)
            RX packets 14  bytes 883 (883.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 19  bytes 2510 (2.4 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    veth4fbc7cd: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            ether fe:50:42:ed:d0:e8  txqueuelen 0  (Ethernet)
            RX packets 203  bytes 142817 (139.4 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 376  bytes 64598 (63.0 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    veth81d5e2a: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            ether 16:00:f3:35:93:8e  txqueuelen 0  (Ethernet)
            RX packets 313  bytes 87321 (85.2 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 400  bytes 174946 (170.8 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    veth9104e70: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            ether 16:44:d6:66:cb:9b  txqueuelen 0  (Ethernet)
            RX packets 115  bytes 58604 (57.2 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 225  bytes 66302 (64.7 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
            inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
            ether 52:54:00:0e:5c:57  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    vnet0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            ether fe:54:00:07:90:63  txqueuelen 1000  (Ethernet)
            RX packets 1694  bytes 340928 (332.9 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 2073  bytes 1839765 (1.7 MiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

     

  2. Can you post result of command ifconfig ?

     

    And result of

     /etc/rc.d/rc.openvpnserver restart

     

    This is part of the code to select right interface

    if [ $BONDING == "no" ] ; then
    
              if [ $BRIDGING == "no" ] ; then
                    #No Bonding and No Bridge using eth0
                    #echo "No Bonding and No Bridge using eth0 interface"
                    IPRULES1="iptables -t nat -A POSTROUTING -s $NETWORK/24 -o eth0 -j MASQUERADE"
    				eval $IPRULES1
    			else
                    #No bonding  and Bridge -> using br0
                    #echo "No bonding  and Bridge -> using bridge interface"
                    IPRULES1="iptables -t nat -A POSTROUTING -s $NETWORK/24 -o $BRNAME -j MASQUERADE"
    				eval $IPRULES1
    			fi
    else


     

  3. Hi!

     

    I forget that I'm also using /var/local/emhttp/network.ini to get right intetrface. Can you post yours ?

     

    Mine looks like this

     

    [eth0]
    BONDNAME="bond0"
    BONDING_MIIMON="100"
    BRNAME="br0"
    BRSTP="no"
    BRFD="0"
    BONDING="no"
    BONDING_MODE="1"
    BONDNICS="eth0,eth1"
    BRIDGING="yes"
    BRNICS="eth0"
    DESCRIPTION:0=""
    USE_DHCP:0="no"
    IPADDR:0="192.168.0.190"
    NETMASK:0="255.255.255.0"
    GATEWAY="192.168.0.1"
    DHCP_KEEPRESOLV="yes"
    DNS_SERVER1="192.168.0.1"
    DNS_SERVER2=""
    DNS_SERVER3=""
    MTU=""
    TYPE="trunk"

     

  4. What unraid version are you on?

     

    Below data is from 6.3.5

    default via 192.168.0.1 dev br0 
    10.10.0.0/24 dev br0.10  proto kernel  scope link  src 10.10.0.1 
    10.28.0.0/24 via 10.28.0.2 dev tun0 
    10.28.0.2 dev tun0  proto kernel  scope link  src 10.28.0.1 
    20.20.0.0/24 dev br0.20  proto kernel  scope link  src 20.20.0.1 
    127.0.0.0/8 dev lo  scope link 
    172.17.0.0/16 dev docker0  proto kernel  scope link  src 172.17.0.1 
    192.168.0.0/24 dev br0  proto kernel  scope link  src 192.168.0.190 
    192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1 linkdown 

     

    11       0     0 MASQUERADE  all  --  *      br0     10.28.0.0/24         0.0.0.0/0       

    my network.cfg

    
    # Generated settings:
    IFNAME[0]="br0"
    BRNAME[0]="br0"
    BRSTP[0]="no"
    BRFD[0]="0"
    BRNICS[0]="eth0"
    DESCRIPTION[0]=""
    USE_DHCP[0]="no"
    IPADDR[0]="192.168.0.190"
    NETMASK[0]="255.255.255.0"
    GATEWAY="192.168.0.1"
    DHCP_KEEPRESOLV="yes"
    DNS_SERVER1="192.168.0.1"
    DNS_SERVER2=""
    DNS_SERVER3=""
    MTU[0]=""
    VLANS[0]="1"
    SYSNICS="1"

     

  5. 15 hours ago, killeriq said:

    TCP

     

    15 hours ago, killeriq said:

    Hello,

     

    Ive got it working :) 

    Had to type the URL into " Dynamic DNS " field in Server settings.

     

    I also found the " OpenVPN Port-Share " setting - this means if i have for example  "port.provider.eu:8888" used for other webservice (transmission or home automation) i could share it with OpenVPN to save 1 port? (i have only 4 ports open)

     

    Ive thied to set:

    Port for the server 8888

    Tunnel Protocol TCP

    OpenVPN Port-Share192.168.1.100 8888

     

    But is not working. Did i get it right? Thanks

    Did you get the client to connect?

  6. 16 hours ago, fc0712 said:

    Appreciate this plugin very much :) 

     

    I need to reboot my server and need the client software to connect at startup, because I'm not home at the moment at use client to client communication.

     

    Is there anyway I can activate the "start Openvpn at moutning of array" without stopping the vpn first? Or any way to the openvpn client connect at startup

     

     

    If you like to start VPN client during boot you can add this to your go file

    /etc/rc.d/rc.openvpnclient start 

     

  7. Peter - So one thing that isn't working when I connect to my unRAID box with OpenVPN from my Mac is access to shares.  I seem to have a great connection otherwise and can access computers via local IP, just no shares.

     

    Thoughts?

    You should be able to connect even with hostname. and your complete LAN shall be available as well.

     

    Did you modified much of the default settings?

     

    //Peter

×
×
  • Create New...