Comments (11)
It may be related a bug that was fixed by #15. I have packaged a new version. Please try the latest openwrt/package/Makefile.
from xt_wgobfs.
Has the kernel module been loaded? What is the output of lsmod | grep WGOBFS
?
from xt_wgobfs.
Hi, i use openwrt, but i have the same problem.
output of lsmod | grep WGOBFS
:
x_tables 24576 15 nft_compat,iptable_mangle,iptable_filter,ipt_REJECT,ip_tables,xt_time,xt_tcpudp,xt_multiport,xt_mark,xt_mac,xt_limit,xt_comment,xt_WGOBFS,xt_TCPMSS,xt_LOG
xt_WGOBFS 12288 0
from xt_wgobfs.
It looks like you may have forgot to put libxt_WGOBFS.so into the correct place. On my system it is at /usr/lib/x86_64-linux-gnu/xtables/libxt_WGOBFS.so. Adjust for your distro accordingly. Easiest is to run "find / 2> /dev/null | grep libxt_" and that way to determine where other iptables libs live. This additional one needs to be at the same location. Except OpenWRT may have no "other" libs, so on that one try simply /usr/lib/.
from xt_wgobfs.
I agree with @romanrm, perhaps libxt_WGOBFS.so
is missing. On Debian 12,
make install
shall copy libxt_WGOBFS.so
to the correct location. Also please make sure the kernel module is loaded.
On OpenWrt, the build generates two pakcages, kmod-ipt-wgobfs_xxx.ipk
and iptables-mod-wgobfs_xxx.ipk
. Double check both are installed. The latest OpenWrt I tested was 22.03.3.
from xt_wgobfs.
I'm sure the packages are installed.
opkg list-installed | grep wgobfs
:
iptables-mod-wgobfs - 0.4.1-1
kmod-ipt-wgobfs - 5.15.118+0.4.1-1
I also searched *wgobfs*
and found the following files in the system:
/usr/lib/iptables/libxt_WGOBFS.so
/usr/lib/opkg/info/kmod-ipt-wgobfs.control
/usr/lib/opkg/info/kmod-ipt-wgobfs.postinst
/usr/lib/opkg/info/kmod-ipt-wgobfs.prerm
/usr/lib/opkg/info/kmod-ipt-wgobfs.list
/usr/lib/opkg/info/iptables-mod-wgobfs.control
/usr/lib/opkg/info/iptables-mod-wgobfs.postinst
/usr/lib/opkg/info/iptables-mod-wgobfs.prerm
/usr/lib/opkg/info/iptables-mod-wgobfs.list
/sys/module/xt_WGOBFS
/sys/module/x_tables/holders/xt_WGOBFS
/lib/modules/5.15.118/xt_WGOBFS.ko
/etc/modules.d/ipt-wgobfs
After that i try to add iptables rule iptables -t mangle -I INPUT -p udp -m udp --dport 6789 -j WGOBFS --key mysecretkey --unobfs
and got the following result:
iptables v1.8.8 (nf_tables): unknown option "--key"
Try `iptables -h' or 'iptables --help' for more information.
What is the problem?
I'm trying to run this on openwrt versions 23.05.0-rc1 and 23.05.0-rc2.
from xt_wgobfs.
Error messages such as unknown option "--key"
, unknown option "--obfs"
, unknown option "--unobfs"
happens when the kernel module is not loaded, or libxt_WGOBFS.so
is missing.
I've only tested it up to OpenWrt 22.03. If you're on 23.05 or later, I'm afraid I might not be able to help you directly.
from xt_wgobfs.
I tried it on openwrt version 22.03.5. Works. But how to make it work on version 23.05? I did everything the same as on 22.03.5, but it does not work.
from xt_wgobfs.
I tested the new version. It works on openwrt 23.05.
from xt_wgobfs.
Great! Glad it works. I am closing this issue.
from xt_wgobfs.
Thanks @infinet !
from xt_wgobfs.
Related Issues (20)
- help HOT 3
- please add this to pfsense router system HOT 1
- openwrt snapshot issue HOT 4
- support for nftables? HOT 1
- Andriod, IOS and windows client configuration HOT 3
- OpenWRT compiling issue HOT 2
- Kernel panic, when use relay HOT 8
- nftables HOT 4
- Multiple clients with different circumvention levels HOT 2
- Server with multiple wireguard interfaces HOT 1
- Ubuntu 22.04 Compile error HOT 1
- unable to install module on Manjaro Kernel 6.1.55-1-MANJARO x86_64 HOT 3
- MTU is not taken into consideration when adding random padding HOT 1
- IPv6 support HOT 1
- Is it possible to roll out a shell script? HOT 1
- Bandwidth limited to below 10Mbps HOT 10
- Iptables missing flag --key on Debian 11 HOT 1
- Only one ping goes through
- Panic when using as a relay on 5.4.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xt_wgobfs.