Alternately, you can configure Webmin to allow links from unknown referers by :
Login as root, and edit the /etc/webmin/config file.
Find the line referers_none=1 and change it to referers_none=0.
Save the file.
WARNING - this has the side effect of opening your system up to reflected XSS attacks and so is not recommended!
I would really appreciate help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am glad to read your reply, I almost lost hope. Once you have configured the New VPN Server from within Webmin ->OpenVPN+CA I click on Save butting which opens new tab with this address in. Please see attached GIF, I hope you can see it, if not I can share mp4 video
Alternately, you can configure Webmin to allow links from unknown referers by :
Login as root, and edit the /etc/webmin/config file.
Find the line referers_none=1 and change it to referers_none=0.
Save the file.
WARNING - this has the side effect of opening your system up to reflected XSS attacks and so is not recommended!
Last edit: Alam Anwar 2021-01-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
switching to old theme resolves the issue. Now I other issues to deal with . Thank you
I would recommend contacting one of the contributors (can be found in CONTRIBUTORS) and ask them to fix module's HTML, as this is the reason why it doesn't work with new theme.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You mean here https://www.webmin.com/trans.html ? Would you now class this as a bug.
In my opinion there is an issue with whole openvpn module.
I am not a linux expert but it looks like I might have to go the hard way, lots of other issue around openvpn.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For the life of me i am unable to solve this issue. Please help I have tried all i could and still cant get it working.
"Security Warning
Warning! Webmin has detected that the program https://192.168.xx.xx:10000/openvpn/create_vpn.cgi?ca_dir=keys%2Fsmartech&ca=keys%2Fsmartech%2Fca.crt&ca_name=smartech&ccd-exclusive=1&management_url=127.0.0.1&dh=keys%2Fsmartech%2Fdh2048.pem&crl-verify=keys%2Fsmartech%2Fcrl.pem&VPN_NAME=changeme&port=1194&proto=udp&dev=tun&devbr=&netdevbr=eth0&ipbr=&netmaskbr=&iprangestart=&iprangeend=&management=0&management_port=&choose_server=ovpn_server&tls-server=0&local=ALL&network=&netmask=&ifconfig-pool-persist=0&client-to-client=0&duplicate-cn=0&tls-auth=0&cipher=AES-128-CBC&comp-lzo=1&max-clients=100&user=nobody&group=nogroup&persist-key=1&persist-tun=1&keepalive_ping=10&keepalive_ping-restart=120&verb=2&mute=20&tun-mtu=&fragment=&mssfix=&float=0&chroot=0&topology=subnet&adds_conf=&up-pre=&up=&down-pre=&down=&down-root=&save=Save was linked to from an unknown URL, which appears to be outside the Webmin server. This may be an attempt to trick your server into executing a dangerous command.
Make sure your browser is configured to send referrer information so that it can be verified by Webmin.
Alternately, you can configure Webmin to allow links from unknown referers by :
Login as root, and edit the /etc/webmin/config file.
Find the line referers_none=1 and change it to referers_none=0.
Save the file.
WARNING - this has the side effect of opening your system up to reflected XSS attacks and so is not recommended!
I would really appreciate help
Hi,
How are you trying to open this link?
You should click links/buttons on the module side, rather than copying/pasting it into the address bar directly.
I am glad to read your reply, I almost lost hope. Once you have configured the New VPN Server from within Webmin ->OpenVPN+CA I click on Save butting which opens new tab with this address in. Please see attached GIF, I hope you can see it, if not I can share mp4 video
In this case referrer must be set. I suggest it's a browser's bug. Try Chrome or Chromium browser and see if this error is still happening.
Attached GIF is not readable.
Try this https://drive.google.com/file/d/1gfIyKLyqxJCiyx89DgSQuVmXnCbyaShW/view?usp=sharing
I have tried all the browsers :(
Well, you could try old blue framed theme or try disabling referrer check in Webmin config (not recommended).
Do you get any error when clicking this button on the browser's console while using the current theme?
Last edit: Ilia 2021-01-25
Well, you could try old blue framed theme or disable referrer check in Webmin config.
I will give that ago tonight and see if it helps, though disabling referrer in webmin makes no difference.
yes the error is below if in CONFIG file referers_none=1 & blank if set to 0
Security Warning
Warning! Webmin has detected that the program https://192.168.xx.xx:10000/openvpn/create_vpn.cgi?ca_dir=keys%2Fsmartech&ca=keys%2Fsmartech%2Fca.crt&ca_name=smartech&ccd-exclusive=1&management_url=127.0.0.1&dh=keys%2Fsmartech%2Fdh2048.pem&crl-verify=keys%2Fsmartech%2Fcrl.pem&VPN_NAME=changeme&port=1194&proto=udp&dev=tun&devbr=&netdevbr=eth0&ipbr=&netmaskbr=&iprangestart=&iprangeend=&management=0&management_port=&choose_server=ovpn_server&tls-server=0&local=ALL&network=&netmask=&ifconfig-pool-persist=0&client-to-client=0&duplicate-cn=0&tls-auth=0&cipher=AES-128-CBC&comp-lzo=1&max-clients=100&user=nobody&group=nogroup&persist-key=1&persist-tun=1&keepalive_ping=10&keepalive_ping-restart=120&verb=2&mute=20&tun-mtu=&fragment=&mssfix=&float=0&chroot=0&topology=subnet&adds_conf=&up-pre=&up=&down-pre=&down=&down-root=&save=Save was linked to from an unknown URL, which appears to be outside the Webmin server. This may be an attempt to trick your server into executing a dangerous command.
Make sure your browser is configured to send referrer information so that it can be verified by Webmin.
Alternately, you can configure Webmin to allow links from unknown referers by :
Login as root, and edit the /etc/webmin/config file.
Find the line referers_none=1 and change it to referers_none=0.
Save the file.
WARNING - this has the side effect of opening your system up to reflected XSS attacks and so is not recommended!
Last edit: Alam Anwar 2021-01-22
You are star !!!! switching to old theme resolves the issue. Now I other issues to deal with . Thank you
I would recommend contacting one of the contributors (can be found in CONTRIBUTORS) and ask them to fix module's HTML, as this is the reason why it doesn't work with new theme.
You mean here https://www.webmin.com/trans.html ? Would you now class this as a bug.
In my opinion there is an issue with whole openvpn module.
I am not a linux expert but it looks like I might have to go the hard way, lots of other issue around openvpn.
Perhaps using an alternative, like Wireguard would be better.