Hi everyone. I have successfully installed and configured v2ray on openWRT 22 on my Raspberry pi. Firefox can connect to v2ray using socks5 and http proxy. I want that all traffic goes through v2ray without configuring socks5. this is my iptables script. dokodemo-door port is 12347
Sorry that I reposed with delay.
I didn't. I wanted to install iptables-mod-tproxy but it was pre-installed so I assume that iptables is installed. This is suspicious because I'm told I can't install and run 2 different firewall programs in regular Desktop Linux.
Yes, it was. should I remove it? is it possible that iptables has a conflict with nftables? I'm sure that there is no rule in iptables before I enter those commands.
I do appreciate that you answer me in a short time.
That's very odd. It shouldn't be there by default or at all on 22.03 and above since kmod-nft-tproxy would be used for nftables. iptables would have a conflict with nftables but it was completely removed and replaced with iptables-nft which just translates iptables commands to nftables. You shouldn't even have the iptables binary.
Where exactly do you download the image? I want to read the image manifest.
I downloaded it from here a couple of months ago. https://openwrt.org/toh/raspberry_pi_foundation/raspberry_pi
For some reason, I do not have access to this Raspberry pi Today so I can't confirm the existence of iptables-nft. Tomorrow I would give you whatever information you need.
I do not know the exact release date of OpenWrt 22.03, it is possible that at that time OpenWrt 22.02 was the most recent one.
There's no RPi 3 B 1.2 unless you mean RPi 2 B 1.2 (according to OpenWrt wiki page), and that's not the latest release. Please download from https://firmware-selector.openwrt.org/ and print this again. Do you download the 32-bit or 64-bit version?
It wouldn't be a v2ray dependency as we're trying to find out why the default image comes with these packages. You wouldn't show me the list of installed packages without even letting me know you've installed packages on top of what comes with the default image now, would you? Because that would be directly against what I've been telling you and would be a great waste of time.
Edit: could you please tell me how can I redirect or reroute all traffic to that port? I will remove V2rayA but how can I redirect or reroute all traffic without installing iptables.