27 Mart 2019 12:40

Muslu Y.

IPTables

IPTables ile port yönlendirmek. iptables http trafiği https e yönlendir

Anasayfa

IPTables

IPTables ile port yönlendirmek. iptables http traf...

iptables ile 80 portuna gelen sorguları 443 e yönlendir

#!/usr/bin/env bash

#### 80 portuna gelen sorguları 443 e yönlendir
iptables -A PREROUTING -t nat -p tcp --dport 80 -j REDIRECT --to-port 443


#### PREROUTING Kayıt listeleme
iptables -L -n -t nat


#### PREROUTING Kayıt silme
iptables -t nat -D PREROUTING satirno

Makdos Bilişim Teknolojileri 2015 - 2025