I need to use socks proxy in Firefox on my laptop, using ssh tunnel to server
On my laptop, I set socks proxy in firefox, and connect to server:
ssh server -D1234
When I visit any website in firefox, the proxy works, but I get these errors:
on laptop (in the console where I started ssh)
channel 15: open failed: connect failed: Address family for hostname not supported
on server (in syslog):
sshd: error: connect_to ff00::: unknown host (Address family for hostname not supported)
this looks like firefox is trying to use IPv6. But I have no IPv6 support either on laptop or on server. And I have explicitly disabled IPv6 in firefox, by setting network.dns.disableIPv6 to true.
As said, everything works. But I am just bothered by the flood of error messages.
How can I prevent Firefox from even attempting to use IPv6, or if that is not possible, to get rid of the error messages on both laptop and server.
The laptop is running Debian 12, and server is running Debian 10.
Both have custom linux kernel, without IPv6 support.