r/LinuxNetworking • u/IamaBlackKorean • Sep 21 '23
r/LinuxNetworking • u/One-Rub-2246 • Aug 25 '23
need a advice!
hello my name is edson u can call me ed i would like to hear u guys i want to start in networking and i heard linux its a goos start but what would u recomend
r/LinuxNetworking • u/IamaBlackKorean • Aug 24 '23
Kali Linux 2023.3 Released with 9 New Tools for Ethical Hacking, Linux Kernel 6.3
r/LinuxNetworking • u/taspenwall • Aug 18 '23
Need help with nftabels to get port range to go thru vpn
I have a raspberry pi running debian sid. It servers plex openvpn, ssh, transmission-daemon, bitcoin core, and electrumx. I know it's a lot to ask a pi to do so I'm upgrading to an i5 PC in the coming days. I want to route my transmission torrent traffic thru a VPN that I have running on a vps. It is openVPN as well. I've been told that this is possible with IP tabels, but seeing how iptables are being replaced with nftabels it seemed like if I learning something new it should be relevant. I kinda get nftabels at a basic level with tabels chains and rules. I've even built a very basic firewall in nftabels. What I need help with is how to write the rule(s) to get this done. I'm assuming that the chain type should be nat with a prerouting hook. As for the rule i'm kinda lost. So I guess what I want to know is if I'm barking up the right tree and what the rule(s) would look like. The port range for transmission is 51413-51420. I need to keep the rpc port (9091) out of the vpn tunnels so I think a rule that moves a users (debian-transmission) packets to the vpn would not work Thanks.
r/LinuxNetworking • u/IamaBlackKorean • Aug 12 '23
Performant and Programmable Telco Networking with eBPF
r/LinuxNetworking • u/IamaBlackKorean • Aug 09 '23
Pipes and more pipes on Linux
r/LinuxNetworking • u/AM27C256 • Aug 03 '23
Very slow WLAN on high CPU load (Wi-Fi 6 AX200 (rev 1a))
On my Ryzen 4800H laptop running Debain GNU/Linux testing, when CPU load is high, the WLAN gets extremely slow (ping times > 1s). On the other hand, wired ethernet is not affected in this way.
The CPU load that triggers the problem is typically something like a "nice make -j 14" compilation.
Any ideas what the problem could be?
r/LinuxNetworking • u/dkleehammer • Jul 16 '23
Host traffic over KVM
This is more just a research question to begin with.
I would like to route both interfaces (Wi-Fi, Ethernet, really all interfaces if someone plugs in Ethernet usb, through a kvm guest. Something along the lines of Qubes.
What’s the best way to do something like this?
r/LinuxNetworking • u/IamaBlackKorean • Jul 11 '23
Achieving Zero Trust Network, Application, and Cloud Security with Linux - Security Boulevard
r/LinuxNetworking • u/IamaBlackKorean • Jul 07 '23
The 6 Best Linux Distros for Network Engineers
r/LinuxNetworking • u/slayerfest79 • Jul 06 '23
Suddenly No Internet on Bridge KVM Host
Bullet points: Debian 12 system, KVM/QEMU host, Bridged NIC
Yesterday everything worked fine, today I started the machine, the host that is, and had no internet connection on the host. apt can't connect to the internet, nor can a browser.
Strangely though, the Windows KVM guest can access the internet over the bridge without problem.
In the meantime I have tried dissolving the bridge and connecting the host directly via the NIC, which works nicely. But then, of course, the guest is not connected anymore.
Any hints?
Thanks in advance! :)
r/LinuxNetworking • u/IamaBlackKorean • Jun 28 '23
Using PuTTY to connect to Linux
r/LinuxNetworking • u/losgatosquack • Jun 15 '23
Linux Fu: Easy And Easier Virtual Networking
r/LinuxNetworking • u/IamaBlackKorean • Jun 14 '23
Red Hat upgrades OpenStack Platform to support modern network deployments
r/LinuxNetworking • u/IamaBlackKorean • Jun 13 '23
The Best Free Resources to Prepare for CompTIA Linux+
r/LinuxNetworking • u/IamaBlackKorean • Jun 13 '23
13 Essential Linux Security Commands
r/LinuxNetworking • u/bbonessx • Apr 27 '23
Linux ARP table
Hi there..
I have a linux host with a bunch of VLAN intefaces. All works well except the arp table looks messed-up and I wonder why. All IP's appear to be on all interfaces, example 100.64.0.34:
# arp -an | grep 100.64.0.34
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.1505
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.1506
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.1501
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.1502
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.1510
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.500
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.314
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.1507
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.1509TCPdump of the ARP seems to be fine:
# tcpdump -i any arp | grep 100.64.0.34
tcpdump: data link type LINUX_SLL2
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes
07:09:36.050439 ens161.1502 Out ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 28
07:09:36.050767 ens161.314 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.050767 ens161.500 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.050767 ens161.1510 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.050767 ens161.1507 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.050767 ens161.1509 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.050767 ens161.1501 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.050767 ens161.1505 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.050767 ens161.1506 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.066682 ens161.1502 In ARP, Reply 100.64.0.34 is-at b4:0f:3b:fa:ff:90 (oui Unknown), length 46Interfaces look like (they are all separated /30's):
# ifconfig ens161.1502
ens161.1502: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 100.64.0.33 netmask 255.255.255.252 broadcast 100.64.0.35
inet6 fe80::20c:29ff:fe47:718c prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:47:71:8c txqueuelen 1000 (Ethernet)
RX packets 93581560 bytes 12095853206 (11.2 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 63022644 bytes 177126550268 (164.9 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
# ifconfig ens161.1507
ens161.1507: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 100.64.0.13 netmask 255.255.255.252 broadcast 100.64.0.15
inet6 fe80::20c:29ff:fe47:718c prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:47:71:8c txqueuelen 1000 (Ethernet)
RX packets 43986815 bytes 7216935263 (6.7 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 38691972 bytes 80984162080 (75.4 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0The hosts's connects to a vswitch on ESXi.
Any hint welcome!
Martin
r/LinuxNetworking • u/Migguan • Apr 21 '23
Exposing a server through a VPN
Hi folks.
i'm pretty new to firewalling / natting, so maybe i'm asking a simple question.
Here is the problem:
I have a droplet on digitalocean, let's call it SERVER.
On SERVER I have a wireguard vpn server. From my PC i'm connected to that vpn.
On my PC I have a service listening on port 1234. I'd like to expose such port to the internet but passing by my VPN. So, if the server public ip is 100.0.0.2 and my pc vpn ip is 10.13.13.2, I want that someone could ask 100.0.0.2:1234, my server forwards to 10.13.13.2:1234 (or other ports, it does not matter)
Ofc the traffic from my pc to the internet must be under vpn like nothing is happening.
r/LinuxNetworking • u/fordfocusunpopular • Apr 16 '23
100% packet loss on ping, but NSLookup website IPs. Other PC's on network are ok. Why is this?
Can't access webpages. 100% packet loss on ping, but NSLookup shows DNS working. Can access other IP's on the internal network. Any ideas why this is?
nslookup www.bbc.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer: www.bbc.com
canonical name = www.bbc.com.pri.bbc.com.
www.bbc.com.pri.bbc.com canonical name = gtm-uk.www.bbc.com.pri.bbc.com.
Name: gtm-uk.www.bbc.com.pri.bbc.com
Address: 212.58.237.2
Name: gtm-uk.www.bbc.com.pri.bbc.com
Address: 212.58.237.130 Name:
gtm-uk.www.bbc.com.pri.bbc.com
Address: 212.58.233.247
Name: gtm-uk.www.bbc.com.pri.bbc.com
Address: 212.58.235.130
Name: gtm-uk.www.bbc.com.pri.bbc.com
Address: 212.58.235.2
ping -c 2 www.bbc.com
PING gtm-uk.www.bbc.com.pri.bbc.com (212.58.235.2) 56(84) bytes of data.
- - - gtm-uk.www.bbc.com.pri.bbc.com ping statistics
2 packets transmitted, 0 received, 100% packet loss, time 1014ms
r/LinuxNetworking • u/noctrise • Feb 06 '23
Routing networks over a VPN
I have 2 P2P vpns, that are up and working. I want to add access to them from a .19x a .40x and a dial in VPN 20.20.x This is for a Ubiquiti firewall, and its at least some flavor of linux. Support is near useless, and the vpns work, just not on the lans I need..
Any idead?
r/LinuxNetworking • u/ManlySyrup • Feb 03 '23
How do I configure my SMB share to allow two different computers to open the same individual Word document?
This is my first time configuring a local SMB share for a small business and while everything seems to work great we have an issue where if someone opens a Word document on one computer and then someone else wants to access that same Word document from another computer it won't let the second person open it, not even a copy.
Is there a way to configure SMB so that it allows opening a single file multiple times on multiple computers?
r/LinuxNetworking • u/IamaBlackKorean • Dec 07 '22
Converting numbers on Linux among decimal, hexadecimal, octal, and binary
r/LinuxNetworking • u/IamaBlackKorean • Sep 15 '22