mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #338] Fedora server 37 with docker #313
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @brego81 on GitHub (Dec 31, 2022).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/338
Describe the issue
When running the docker on fedora server 37 with default parameters i see the following error:
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.8 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Vpn connection is established however I cannot browsing thebweb
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After vpn connection you can browse the web
Logs
iptables v1.8.8 (legacy): can't initialize iptables table
filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.8 (legacy): can't initialize iptables tablefilter': Table does not exist (do you need to insmod?)Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.8 (legacy): can't initialize iptables table
filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.8 (legacy): can't initialize iptables tablenat': Table does not exist (do you need to insmod?)Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.8 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Starting IPsec service...
================================================
IPsec VPN server is now ready for use!
Connect to your new VPN with these details:
Server (please complete the following information)
@hwdsl2 commented on GitHub (Dec 31, 2022):
@brego81 Hello! Please try loading the iptables kernel module on your Docker host, then re-create the Docker container.
Command:
sudo modprobe ip_tablesThis is mentioned in advanced usage for some Linux distributions:
https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/master/docs/advanced-usage.md#run-without-privileged-mode
If you have further information feel free to continue to reply here.
@hwdsl2 commented on GitHub (Dec 31, 2022):
@brego81 Alternatively, change the mount parameter in your "docker run" to:
-v /lib/modules:/lib/modules:ro
instead of the one in your command. Then re-create the Docker container. This will allow loading of the kernel module in the container.