-
Posts
2,273 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by peter_sm
-
-
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
-
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
-
On my VM Unraid 6.4 the OpenVPN get the right interface when using bridge.
192.168.0.0/16 dev br0 proto kernel scope link src 192.168.0.198
And you have bridge but get the eth0 interface anyway?
Are you using bonding ?
I have limiting with time today, but you might figured out between your and my settings what differ ? so for me it's OK both on 6.3 and 6.4
-
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"
-
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"
-
It should use br0 if this exist , can You post your unraid network.cfg
Skickat från min iPhone med Tapatalk -
Can you post your config/ovpn file?
-
Generate certificate can take some time. Please let the plugin run longer. If yo uare using 4096 size, then wait up to 30 minuters or more.
-
Server Plugin updated with the new Tcl package.
//Peter
-
Is this right to use ...... host-passtrough??. According to posts above
<cpu mode='host-passthrough'> <topology sockets='1' cores='4' threads='1'/>
-
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?
-
Enable help and check settings for server settings. It shall explain settings.
-
Can you see if you have any client logs ?
-
17 hours ago, gridrunner said:
Ok finished the guide. Was a bit rushed so sorry if its a bit lower quality than normal.
Nice findings and solution !!
-
I,m restoring a backup and will try latest Clover later today [emoji3]
-
And you did update Clover before updating?
-
I got this error when trying to update
Pulling image: lsiodev/nextcloud:latest TOTAL DATA PULLED: 0 B Error: Error: image lsiodev/nextcloud:latest not found
-
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
-
57 minutes ago, Eisi2005 said:
@peter_sm
could say something to my problem ?
Thanks
You see in the error log that some error is pointon on IPv6. unRAID don't have IPv6 in the kernel, If you have IPv6 in your config file you going to get problem.
-
Hey
I have installed this plugin and moved my openvpn.ovpn file to the boot/openvpn folder.
It's a Openvpn Acces server auto login profile, so I deactivated "requires login"
It reports the following in the log:
Options error: You must define TUN/TAP device (--dev)
What should I do?
Can You post your ovpn file?
Skickat från min iPhone med Tapatalk -
Hello everyone!
I want to connect to my corporate network Openvpn.
I installed the plugin "Openvpn-client", but I do not know where to place the conf file and cert ...
If I go to "chose to file" nothing happens.
Thanks for your help!
Lock at the info and Link on first page -
Can you try to give it same time before reload the page ? Will it disappear then ? I will try by my self how it looks.
-
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
-
One more question regarding OpenVPN client (not server this time) which I may also use for another purpose. My VPN provider only gives me a cert file--it does not give me a .ovpn file. Can I still configure the OpenVPN client you packaged for unRAID to connect to them?
Thanks again. Great work.
What I know a ovpn or config file needs for all vpn.
//Peter
OpenVPN Server & Client for unRAID 6.2+ (6.1 are still supported)
in Plugin Support
Posted
I see the issue!
You have etho with BRIDGING="yes"
but eth1, 2 and 3 BRIDGING="no"
I do in my plugin
source /var/local/emhttp/network.ini
do that and then type in
echo $BRIDGING
It will take the last BRIDGING ans save it to $BRIDGING
if $BRIDGING = no it will take eth0 as interface :-(
Need to find a solution on this .....