Forward a TCP port to another IP or port using NAT with nftables

  Рет қаралды 10,398

jensd_be

jensd_be

Күн бұрын

Пікірлер: 16
@samre3006
@samre3006 3 жыл бұрын
Wow. Amazing. Thanks for sharing your knowledge.
@ghaithal-bezem5237
@ghaithal-bezem5237 6 ай бұрын
How clear and straight forward is your explanation, thanks. Can I use this settings in some way to bypass port 80 block from ISP to activate my own web server on a windows machine?
@jensdbe
@jensdbe 6 ай бұрын
If your ISP is blocking port 80 incoming to you, then you can use this to forward another external port (for example 8080 ) to your internal port 80 but you can't use it to unblock that port.
@MrRockberts
@MrRockberts 3 жыл бұрын
thanks a lot was very helpfully
@edenannonay5390
@edenannonay5390 3 ай бұрын
THANK YOU !
@s4m1_s41d1
@s4m1_s41d1 3 жыл бұрын
very helpfull!!! thank you very much!!!!
@jensdbe
@jensdbe 3 жыл бұрын
Thanks for the nice feedback :)
@sergiodossantos2255
@sergiodossantos2255 2 жыл бұрын
I am running this under a cloud vm. For some reason after adding the masquerade rule it starts showing: sudo: unable to resolve host {VMname): Temporary failure in name resolution. Do you know why this would happen?
@jensdbe
@jensdbe 2 жыл бұрын
Maybe the change caused DNS to no longer be reachable? Is it local? Also make sure your own hostname (cat /etc/hostname) is present in your hosts file (/etc/hosts).
@explorewithsam1457
@explorewithsam1457 2 жыл бұрын
Is it possible to redirect all system TCP traffic to client socks proxy endpoint?
@iPondrio
@iPondrio 3 жыл бұрын
Great video! Would this work for a server running in the cloud? I tried other options (iptables, firewalld, ufw) but they have not worked as I expected. I'm a bit new with Linux and networking...
@jensdbe
@jensdbe 3 жыл бұрын
Thanks for the nice feedback. It's hard to tell if this would work. It depends a bit on how the infrastructure is shared with your cloud provider/VPS. As you're most likely running on a virtualized or containerized environment, you might not have the right access or permissions to make these changes. Also it depends if your host is using iptables or nftables or another method.
@DanielNerd
@DanielNerd 5 ай бұрын
question, will this allow anyone on the internet to access the port i forwarded using my public ip?
@jensdbe
@jensdbe 5 ай бұрын
That should work, yes
@DanielNerd
@DanielNerd 5 ай бұрын
@@jensdbe yup, it worked. thanks!!
@over-there
@over-there 11 ай бұрын
thanks
Начинаем работу с nf_tables
17:14
Поддержка Сайтов :: Метод Лаб
Рет қаралды 9 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Russian secret base uncovered / Russia abandons the region
14:15
NEXTA Live
Рет қаралды 712 М.
Cross compiling for arm or aarch64 on Debian or Ubuntu
12:03
jensd_be
Рет қаралды 49 М.
What is NAT and Port Forwarding (Network Address Translation)
47:19
Eli the Computer Guy
Рет қаралды 18 М.
2327 The Hypocycloid Engine
16:08
Robert Murray-Smith
Рет қаралды 75 М.
How to Secure SSH with Port Knocking and Nftables on CentOS 8
15:43
theurbanpenguin
Рет қаралды 8 М.
NFTABLES [PART - 1] : "Concept and Syntax"
9:30
XPSTECH
Рет қаралды 24 М.
Port Forwarding Explained + The Risks You Need to Know
14:03
CertBros
Рет қаралды 35 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН