Skip to main content

All Questions

Tagged with
1 vote
1 answer
247 views

Automatically block ip addresses with iptables accessing a web page

I have a small vps with a couple of websites and scripts running on it. One of them is made with wordpress. Looking at the logs, there is a brute force tentative running. I'm trying to block the ip ...
Federico Ponzi's user avatar
0 votes
1 answer
34 views

How can I rewrite URLs? [duplicate]

I am running an instance of Grafana on my machine. It is open on port 3000. But instead of having to type 1xx.x.x.x:3000 can I configure this to be my-grafana.com? I have no idea what I would even ...
Kyle DeGennaro's user avatar
2 votes
1 answer
2k views

Could I set up ufw to only allow access from the specified ip addresses?

For really high security, how can I add ip addresses of the websites that I want to visit individually? What command should I use? How could I get ip addresses of the websites without being able to ...
Linux_user0987's user avatar
0 votes
1 answer
205 views

Workaround for firewall that is blocking unsolicited traffic

I have AT&T wireless at my house for home internet. Where I am located it is rural and don't have many option's for ISP's. My goal is to be able to SSH back to my house and possibly view my ...
Jonathan Philpot's user avatar
1 vote
0 answers
75 views

Traffic routing not working between IP and interface

The debian server is configured like this: enp0s8 = WAN enp0s10 = LAN (Internet via tun0) enp0s12 = LAN access only, no internet available tun0 = Main VPN Connection tun1 = Secondary VPN Connection ...
Jes7err's user avatar
  • 11
1 vote
1 answer
2k views

How to access my public IP from LAN

I'm currently using a Netgear router with DD-WRT firmware. I have a laptop with a camera application installed. The application uses public address and ports to operate the cameras. When I'm at work, ...
REGE's user avatar
  • 11
1 vote
3 answers
2k views

Forwarding Traffic To Particular IP using IPTABLES

I am dealing with 3 machines (VMs) :- A :-172.20.10.1 (Client) B :-172.20.10.2 (Original Server) C:-172.20.10.5 (Redirect Server) Now I want A to visit B and B to forward that to C. I was able ...
Coding_Karma's user avatar
1 vote
0 answers
966 views

Route all traffic from VPS to my home network

I have a VPS with a static public IP, and I also have a home network with a static public IP. I want to somehow make it so that if the VPS's static IP receives traffic on a certain port, it routes/...
Matthew's user avatar
  • 353
4 votes
0 answers
3k views

IP forwarding between two interfaces on Windows Server from Linux box

I have two VMs, one Ubuntu Server and one Windows Server 2016. On both machines I have a virtual switch with NAT (Hyper-V vSwitch on Windows) with Docker containers connected to them. On Linux my ...
Jamie's user avatar
  • 41
0 votes
1 answer
92 views

Fast IP Forwarding to WAN, but falls off cliff between LAN subnets

I replaced my consumer wireless router with a linux box that has a quad-gigabit NIC PCIe card and a single gigabit NIC on the motherboard (for the WAN). After turning on IP forwarding, masquerading (...
Huckle's user avatar
  • 568
4 votes
2 answers
2k views

Exclude external IP from OpenVPN in tomato router

I have all traffic going through a VPN in my tomato router. I’d like to exclude my gaming server’s address from the VPN. How do I exclude that one specific external IP address from the VPN in the ...
Walrus the Cat's user avatar
2 votes
1 answer
2k views

iptables -L not showing all rules?

I've added this rule with iptables: iptables -t mangle -I PREROUTING -j TEE --gateway 192.162.122.62 I've checked it with iptables -L or iptables -S but I can't see anything. Is that normal? how can ...
warumus's user avatar
  • 21
0 votes
0 answers
32 views

Android getting assigned alternative IP even though already has one reserved

Within my network, I have an android device that I have reserved an IP address for, but after rebooting the device a new IP has been assigned. the names are identical so unsure why this would happen?...
emma perkins's user avatar
0 votes
1 answer
53 views

Pass all traffic through my vpn

After connecting to my open vpn through network manager on linux, it connects bu do not use the vpn to connect to the internet. my ip table is as below: default via 192.168.1.1 dev wlan0 proto ...
Mrfrog's user avatar
  • 1
0 votes
0 answers
2k views

How to reroute traffic form one IP to another while keeping the IP?

I currently have the following iptables rules in order to redirect traffic from b.b.b.b to a.a.a.a: -A PREROUTING -p tcp -m tcp --dport 25566 -j DNAT --to-destination a.a.a.a:25566 -A POSTROUTING -d ...
William's user avatar
  • 473

15 30 50 per page