Skip to main content

All Questions

Tagged with
0 votes
1 answer
952 views

Correct flag to use instead of --icmp-type?

I am trying to set up iptables v1.8.7 on a Debian 11 Raspberry Pi to block ICMP timestamp requests and replies. The tutorial I am following and all the other forums I have looked at say to use the ...
SuperDialga's user avatar
1 vote
1 answer
624 views

Iptables-restore does not work with SNAT

I am using Raspbian on a Raspbery Pi (based on Debian 10) and I'm trying to use the following line in my iptables rule set: -A POSTROUTING -s 2.3.4.5/26 -o eth0 -j SNAT --to-source 1.2.3.4 However ...
paymegood's user avatar
1 vote
0 answers
122 views

Server connections refused when hostname used, works fine with IP

Hope someone can help. I've run a local server for a while on a Rapberry Pi 3b (Raspbian Buster) that includes a PBX server, DNSmasq and local webserver. I recently upgraded to a Pi4 and performed a ...
Ian Bishop's user avatar
0 votes
0 answers
624 views

How to setup iptables to feed squid proxy server?

I am following this https://raspberrytips.com/raspberry-pi-firewall/ to setup iptables for squid proxy server. iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 80 -j DNAT --to 192.168.42.1:3128 ...
ByteArtisan's user avatar
26 votes
5 answers
55k views

iptables/1.8.2 Failed to initialize nft: Protocol not supported

I'm having a problem using iptables on my Raspberry PI. I've just downloaded a fresh version of Raspbian Lite on my PI and all I'm trying to do is check my iptables rules but it's not working and I'm ...
Kenan's user avatar
  • 261
1 vote
1 answer
622 views

openvpn is blocking external request to webserver and ssh

My setup: Raspberry pi 3 OS: raspbian 9 (stretch) local network (eth0): 192.168.0.X wireless network(wlan0): 192.168.10.X This setup is behind a modem/router which provides access to the internet. ...
Adwen's user avatar
  • 11
0 votes
0 answers
310 views

Unable to ping locally with iptables masquerade wifi repeater

Okay so my network setup is as follows: I have a router that connects to the internet. Said router is 192.168.1.254. My device has 2 wifi adapters. Wlan0 is 192.168.1.99/24 static. (Dhcpcd) Wlan1 is ...
Kevin's user avatar
  • 161
0 votes
1 answer
3k views

No routing over OpenVPN connection

I can’t get my OpenVPN (on Raspberry Pi B with Raspian 4.9.24-v7+) working. I can establish the connection, can ping the IP of the device in the local subnet (192.168.201.246), but I can’t ping ...
CodeOrion's user avatar
0 votes
2 answers
2k views

Traffic redirection with Rasperry Pi router

I use a Rasperry Pi (running raspbian) as a wi-fi router. It redirects traffic from the Ethernet wire (eth0 - wire + ppp0 - L2TP connection, lx2tp used for it) to wlan0 (USB wi-fi dongle, hostapd used ...
Igor Shalyminov's user avatar