-
Notifications
You must be signed in to change notification settings - Fork 868
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redsocks not forwarding proxy requests in RHEL 8 #161
Comments
It could be a conflict between firewalld, iptables and nftables. I think it's better you convert the iptables rules to Nftable (there are tools for this). If firewalld is enabled you should disable it, be sure nftable is disabled as well and run only iptables, or better, migrate to nftable and be sure the other services are disabled. Be sure to migrate all the rules you have |
@antenore is nftable supported by redsocks ? |
I use it, with iptables as backend, so yes |
I'm using it with iptables , i wish #143 will be merged soon. |
@chromer030 as I said redsocks works out of the box with nftable, that MR is just informational |
You said iptable ! |
Yes, in the redsocks configuration you have to use the iptables back-end, but on Linux you use nftable |
Could this be related to #123? |
I am trying to figure out what the cause is. It worked flawlessly for me in debian.
I am running RHEL 8 right now, and I set up redsocks in exactly the same way to try and transparently proxy to squid. Here is my redsocks.conf:
Here are the iptables commands I use:
In the redsocks logs I can see that new connections are coming in, but nothing else.
On the client side, the connection just spins for a while before timing out.
When I look at a pcap, I can see the connect requests coming into squid, but no handshake, etc.
Any idea where to start looking? I can connect to the squid proxy manually and it works fine, so it is hard to imagine that squid is the problem.
I disabled SELinux to see if that was causing problems, that didn't help.
The text was updated successfully, but these errors were encountered: