NAT Masquerading

  Рет қаралды 18,723

SysEng Quick

SysEng Quick

Күн бұрын

Tutorial on using iptables to masquerade traffic through your firewall's IP address. Useful for creating a home router.

Пікірлер: 16
@thirteenteeth
@thirteenteeth 5 жыл бұрын
Perfectly succinct video on iptables masquerading
@bill0cao
@bill0cao 11 ай бұрын
This is a great video. But @debian, do we need to add virtual link/interface like "lan" and "wan" specifically? Thanks
@bill0cao
@bill0cao 11 ай бұрын
I just used my only available ethernet interface to replace "lan" and "wan" in the command from the video, it worked.
@simonegarro2928
@simonegarro2928 Жыл бұрын
I didn't get how the other machine was configured, I have my Kali machine in which I've settled my iptables rules and a Ubuntu machine which should work has the second one that he use in the video; when I try to ping or navigating through Firefox the iptable for NAT remains the same, always 0, how can I fix this?
@diogomartinsferreira8813
@diogomartinsferreira8813 11 ай бұрын
Hi, so you need to make sure your Kali machine is the gateway for your Ubuntu machine. Also they need to be on the same network.
@raajseeker
@raajseeker Жыл бұрын
But how to save these ? Because after reboot all will be gone.
@luohua6180
@luohua6180 3 жыл бұрын
why incoming package can be passed into lan ?there is no DNAT, dst ip of the ping reply package is wan ip or lan ip?
@accessory2008
@accessory2008 Жыл бұрын
probably because that masquerade rule?
@sauravythandle
@sauravythandle 5 ай бұрын
yeah pretty confusing. How are the incoming packets forwarded from wan to lan ?
@co88liwan31
@co88liwan31 4 жыл бұрын
If I am understanding correctly, the syseng@debian is acting as a router for syseng@localhost, not very clear how you configure syseng@debian as the gateway of syseng@localhost?
@accessory2008
@accessory2008 Жыл бұрын
just need to set @debian ip as that .1 ip and enable routing (forwarding)
@mikelangley8888
@mikelangley8888 3 жыл бұрын
where do i find this "ipt" command? is it an alias?
@accessory2008
@accessory2008 Жыл бұрын
yes, it is an alias. He mentioned in his previous video. It is iptables -L -n -v --line-numbers see here: kzbin.info/www/bejne/rnnapXpviJ15rdE
@napoleonarouldass4416
@napoleonarouldass4416 4 жыл бұрын
Lovely Videos, very helpful, very clean and very neat. Just Rocking !! How do i do this particular Forwarding Lets say I have setup a VM on the Cloud ( Digital Ocean ) It should basically forward all HTTP, HTTPS Req to Google as if The Google would know it came from our Proxy Server.
@paulg.3067
@paulg.3067 5 жыл бұрын
Thanks for the video but the audio quality makes it quite uncomfortable to follow... Sounds like a 2kbps of a Mars-->Earth Audio Link...
@nimda2sdfsdfsd
@nimda2sdfsdfsd 4 жыл бұрын
His voice is like that.
Port Address Translation
4:02
SysEng Quick
Рет қаралды 3,2 М.
Wall Rebound Challenge 🙈😱
00:34
Celine Dept
Рет қаралды 13 МЛН
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 27 МЛН
Network Address Translation - Computerphile
10:50
Computerphile
Рет қаралды 162 М.
RHCSA 8 - Nat Masquerading Natively Using Nftables
9:25
theurbanpenguin
Рет қаралды 4,2 М.
iptables ruleset persistence
4:26
SysEng Quick
Рет қаралды 8 М.
Mastering Source Network Address Translation (SNAT) in Nftables
17:53
LinuxCloudHacks
Рет қаралды 1,5 М.
Using Linux as a NAT Masquerade Router
11:31
NetSecProf
Рет қаралды 17 М.
DO NOT design your network like this!! // FREE CCNA // EP 6
19:36
NetworkChuck
Рет қаралды 3,4 МЛН
Computer Networking Tutorial - 40 - iptables Firewall Rules
11:09
thenewboston
Рет қаралды 176 М.
iptables traffic basics
5:01
SysEng Quick
Рет қаралды 8 М.
Understanding Iptables
29:39
Senecallaghan
Рет қаралды 1 М.
Wall Rebound Challenge 🙈😱
00:34
Celine Dept
Рет қаралды 13 МЛН