Skip to main content

All Questions

Tagged with
1 vote
1 answer
982 views

Linux - Multiple subnets with multiple gateways

I have multiple computers with 3 interfaces in multiple subnet. For example : (all /24) RED (linux) eth0 192.22.184.113 eth1 192.23.184.113 eth2 192.24.184.113 BLUE (windows) nic1 192.22.184.28 nic2 ...
Cassandra's user avatar
0 votes
1 answer
492 views

add generic/dynamic route via "ip route add" on a linux machine

I am configuring a raspberry pi to work as a wireguard VPN router/firewall. The client will connect to the raspi via WLAN (hostapd), the raspi itself is connected to the ISPs router via LAN, and ...
randmin's user avatar
  • 101
0 votes
1 answer
91 views

Linux virtual machine not working with XAMPP, Vsftpd and NAT

I am trying to make a Linux Mint virtual machine with XAMPP and Vsftpd. I am using Windows 11 Hyper-v Manager as virtualization software. The problem is that when I try to watch my virtual machine's ...
allu's user avatar
  • 3
0 votes
1 answer
331 views

Linux network by serial port

I need help to configure a serial port (/dev/ttyS1 or /dev/ttyUSB0 is the same) to communicate vs other hosts via IP (without modem). Some years ago it was possible ma I don't remember how. Anyone ...
Riccardo Ricci's user avatar
1 vote
2 answers
14k views

Setting down and up a working interface with ip command causes it to stop working

I'm running Debian 11 and using the CLI, when bringing down and up a working interface with ip command (doing no changes at all on it's parameters) it stops working. Steps that I follow: Boot the ...
Gerardo romano's user avatar
1 vote
1 answer
2k views

"ip neigh flush" command removes entries with "extern_learn" and "permanent" set

If arp/neighbor entries are programmed with both "extern_learn" and "permanent", "ip neigh flush" command throws "Invalid argument" error, but the entries are ...
Bing S's user avatar
  • 11
0 votes
1 answer
261 views

Creating an IP route for a network from one of its subnets

I am looking at a shell script that creates a namespace (NSNAME) and a veth pair (veth-in-root, veth0). After it brings up the veths and setting the ip addresses for them, there is this line: ip -n &...
rhoward's user avatar
1 vote
0 answers
313 views

ufw logs BLOCKS from 2 sites while BLOCK logging is completely disabled for ALL sites

Logging is enabled. Only allow rules are logged. The very last line of my firewall rules is: Anywhere DENY Anywhere No logging is asked for, however two IPs repeatedly show ...
david mcgaughey's user avatar
0 votes
1 answer
194 views

Wrong hostname resolution in Local network

context I was trying in vain to map drives from my NAS to my PC via NFS when I figured out that my PC hostname was not resolved with the proper IP address from my NAS or any other devices connected ...
JB Rolland's user avatar
0 votes
0 answers
506 views

How can I hide my server IP from server users

I'd like to find a way to block websites like https://checkip.amazonaws.com or at least restrict them to the point they can no longer output my server's public IP address. For example, if I do curl ...
OpenSource's user avatar
0 votes
0 answers
648 views

Why can't I log in to PuTTY as user, but only root

I'm trying to Split and format Disk on VM in Debian. I also need set file permision. My problem is that I can't log to the server through PuTTY as user, only as root. I entered same IP address as for ...
Petr Barabáš's user avatar
0 votes
0 answers
504 views

Limiting iot devices access to network through dual NIC linux machine - bridge vs router?

I have a Linux machine with two ethernet ports (one of which is connected to my ISP's router). I want to connect an iot device via the other ethernet port but limit (but not disable) its access to ...
user8903610's user avatar
1 vote
1 answer
826 views

why is Editing Hosts file for redirecting to IP of my choice giving a 404 error

i edited the hosts file in Linux at etc/hosts where i put two entries at the end as 127.0.1.1 brij-Latitude # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-...
Brijraj's user avatar
  • 13
0 votes
1 answer
1k views

Linux's "ip route" not shows the route for dev lo

Ubuntu 20. I do ip -4 route add local 172.20.30.0/24 dev lo It's OK. Again - I got RTNETLINK answers: File exists This is OK. But 'ip route' not shows this rule, neither 'netstat -rn', neither '...
Master's user avatar
  • 3
0 votes
1 answer
5k views

ssh into WSL2 works on only some IP addresses

On Win10, in WSL 2 running Ubuntu 20, I've installed sshd running on a port different from 22, namely 2222. To the firewall I've added an incoming rule for TCP port 2222. From the windows command ...
Camille Goudeseune's user avatar

15 30 50 per page
1 2
3
4 5
17