Questions tagged [loopback]
This tag is for questions about loopback interfaces on network devices. For instance, you want to configure routing on your layer 3 switch and for that you want to configure a loopback interface.
58 questions
0
votes
2
answers
669
views
using ssh to forward local ports to the outside world
I have read the other issues/answers that seem similar to this, but I do not see a match.
I have a VNC server running on a unix system. It is listening on 127.0.0.1.
I need to be able to connect to ...
0
votes
0
answers
26
views
how to check how many loop-devices in a linux system are possible to use? [duplicate]
how to check how many loop-devices in a linux system are possible to use?
i need this in a script, are not more than X possible, than end the script with some message...
0
votes
0
answers
103
views
Routing external network traffic to a service that only listens on loopback
I'm running protonmail-bridge on a server on my home network, and I'd like to have several other machines utilize it as their IMAP/SMTP server without having to run duplicate copies of the bridge ...
10
votes
2
answers
1k
views
How to receive UDP packet with 127.0.0.0/8 dst address in userspace
I would like to know if it is possible in linux to receive an UDP packet in userspace that has a 127.0.0.0/8 dst address but coming from an external interface.
I tested it with nc and I can see ...
0
votes
1
answer
722
views
Cannot login normally after login loop
I recently had a login loop that kept sending me back to the login screen no matter how many times I entered the correct password. I decided to login accessing the terminal directly by pressing cntrl+...
0
votes
1
answer
3k
views
how can I create additional loopback interface permanentely?
I can use ip addr add 130.100.0.5/32 dev lo to create a loopback interface.
However, if I use /etc/sysconfig/network-scripts/ifcfg-lo to config it, it doesn't show up:
DEVICE=lo
IPADDR=130.100.0.5
...
0
votes
1
answer
865
views
Service only listens on 127.0.0.1 port 1025. How do you allow any computer on your local network to communicate with this service?
Let me open by saying I have scoured the internet, even companies I purchased the software from and it's been 5 months!! So I am turning to the community as my eyes and brain are bleeding from reading ...
0
votes
0
answers
380
views
Packets are unexpectedly routed to local lo interface
I have a question about routing between different network devices within the same Linux host:
I created a Geneve network device (and this example is not related to Geneve tunnel; it's just that I ...
1
vote
0
answers
377
views
ssh port forwarding, who has access to localhost?
I've done an ssh remote port forwarding:
[email protected]% ssh -R 127.0.0.1:11999:host2.a.com:99 [email protected]
My understanding is that this creates a TCP socket on host3.b.com's localhost port 11999.
...
0
votes
0
answers
176
views
Why is my loopback interface losing its address sporadically?
After I upgraded to Fedora Linux 36 from 34 (first to 35) I'm getting an issue I had not faced before. The lo interface is losing its inet address and that's causing issues with programs that make ...
2
votes
1
answer
1k
views
ipv6 multicast fails when it should loop back to self
So far I use multicast with ipv4 and it works; all involved computers run linux. I listen on two machines and send on one of those two (in a separate terminal). In the below example 'Hello 1' is ...
4
votes
1
answer
819
views
Why does tc-netem on loopback also affects other interfaces?
I'm trying to modify the network behaviour of my server(s), to simulate external/WAN connection behaviours (what ever that means).
After doing tc qdisc add dev lo root netem delay 100ms, I can ...
1
vote
0
answers
273
views
My computer resolves itself to 127.0.0.1 instead of its outer ip
I recently installed dnsmasq in two of my machines. The service works all right but the trouble is that when consulted they return only their loopback ip.
@Machina ~]$ nslookup continua continua
...
2
votes
0
answers
287
views
dummy_hcd loopback webcam. Impossible?
I've been trying to create a loopback USB Webcam device with the help of dummy_hcd kernel module. Steps I've taken:
I load libcomposite via modprobe libcomposite.
Then I load dummy_hcd via modprobe ...
3
votes
1
answer
6k
views
How to make a loopback device writable for normal user?
I setup a loopback device following this guide.
The device is OK, but only writable for root. I searched solutions and found some answer such as using fusermount, fstab etc., e.g. this one.
I would ...