Pustaka Taratsa

Cari

21 buku memuat "sudo iptables" · halaman 1 dari 2

  1. Ubuntu: Install PiHole

    Onno Widodo Purbo

    … --dport 53 -j ACCEPT sudo iptables -I INPUT -p udp --dport 53 -j ACCEPT sudo iptables -I INPUT -p udp --dport 67 -j ACCEPT sudo iptables -I INPUT -p tcp --dport 80 -j ACCEPT sudo iptables -I INPUT -p tcp --dport 4711 -j ACCEPT sudo iptables -I INPUT -p tcp …

    sekitar 17% dari bukuBaca teks (EPUB)

  2. Ssh - fail2ban

    Onno Widodo Purbo

    … , you can restart fail2ban to implement the wrapping rules: sudo service fail2ban start We can see our current firewall rules by typing: sudo iptables -S Output -P INPUT ACCEPT -P FORWARD ACCEPT -P OUTPUT ACCEPT -N fail2ban-ssh -A INPUT -p tcp -m multiport …

    sekitar 60% dari bukuBaca teks (EPUB)

  3. Open5gs: Konfigurasi ogstun dan ogstun2

    Onno Widodo Purbo

    … you probably want to block ### UE originating traffic from accessing other network functions. ### Replace x.x.x.x/y with the VNFs IP/subnet sudo iptables -I FORWARD -s 10.45.0.0/16 -d x.x.x.x/y -j DROP Konfigurasi dua interface TUN ogstun dan ogstun2 Jika …

    sekitar 67% dari bukuBaca teks (EPUB)

  4. Free5GC: Install

    Onno Widodo Purbo

    … boot, sudo ifconfig ens4 192.188.2.2 sudo sh -c 'echo 1 > /proc/sys/net/ipv4/ip_forward' sudo iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE sudo iptables -I INPUT -i uptun -j ACCEPT Option 2 di konfigurasi untuk auto run saat boot sudo sh -c "cat …

    sekitar 40% dari bukuBaca teks (EPUB)

  5. OpenVPN: Simple Server using Script

    Onno Widodo Purbo

    … =1 Enable / Reload ufw, sudo ufw enable OR sudo ufw reload Verify, sudo ufw status sudo iptables -t nat -L -n -v sudo iptables -L FORWARD -n -v sudo iptables -L ufw-before-forward -n -v Menambah CLIENT Untuk menambah Client OpenVPN, jalankan ulang, sudo …

    sekitar 50% dari bukuBaca teks (EPUB)

  6. MITM: mitmproxy 2

    Onno Widodo Purbo

    … use case: All rules belong in a table. The default table is filter, and it is mainly for firewall rules. You can list the default table rules with sudo iptables -L -v. We need to affect routing, not firewall rules, so we will be using the nat table instead …

    sekitar 22% dari bukuBaca teks (EPUB)

  7. Raspbian: KippoPi SSH Honeypot

    Onno Widodo Purbo

    … the internet you need to the following additional steps: sudo apt-get install iptables sudo iptables -t nat -A PREROUTING -p tcp --dport 22 -j REDIRECT --to-port 2222 sudo iptables-save > /etc/iptables.rules Port forwarding all sorted? Good now we need to …

    sekitar 71% dari bukuBaca teks (EPUB)

  8. Mini Howto iptables untuk Firewall

    Onno Widodo Purbo

    … -Insert (-I) aturan pada rantai INPUT bagi interface lo, agar masuk ke urutan paling atas. $ sudo iptables -I INPUT 1 -i lo -j ACCEPT $ sudo iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT …

    sekitar 40% dari bukuBaca teks (EPUB)

  9. Open5gs: Konfigurasi Awal MCC 999 MNC 70

    Onno Widodo Purbo

    … Enable IPv4/IPv6 Forwarding sudo sysctl -w net.ipv4.ip_forward=1 sudo sysctl -w net.ipv6.conf.all.forwarding=1 ### Add NAT Rule sudo iptables -t nat -A POSTROUTING -s 10.45.0.0/16 ! -o ogstun -j MASQUERADE sudo ip6tables -t nat -A POSTROUTING -s 2001:db8 …

    sekitar 75% dari bukuBaca teks (EPUB)

  10. FIREWALL: iptables: Mini howto (en)

    Onno Widodo Purbo

    … "iptables" itself. We can edit this file, and save it when finished. For testing it can be run using the command, $ sudo iptables-restore < /etc/iptables.rules After the test, we can save what is being tinkered with using the iptables-save command to the …

    sekitar 79% dari bukuBaca teks (EPUB)

  11. Raspbian: Wireless HotSpot

    Onno Widodo Purbo

    … bottom of the file: net.ipv4.ip_forward=1 Second, to enable NAT in the kernel, run the following commands: sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE sudo iptables -A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT …

    sekitar 71% dari bukuBaca teks (EPUB)

  12. Open5gs: Konfigurasi Awal

    Onno Widodo Purbo

    … you probably want to block ### UE originating traffic from accessing other network functions. ### Replace x.x.x.x/y with the VNFs IP/subnet $ sudo iptables -I FORWARD -s 10.45.0.0/16 -d x.x.x.x/y -j DROP Referensi https://open5gs.org/open5gs/docs/guide/02 …

    akhir bukuBaca teks (EPUB)

  13. Open5gs: NAT port forwarding

    Onno Widodo Purbo

    … agar UE mendapatkan internet dari Open5gs sudo sysctl -w net.ipv4.ip_forward=1 sudo iptables -t nat -A POSTROUTING -o ens18 -j MASQUERADE sudo systemctl stop ufw sudo iptables -I FORWARD 1 -j ACCEPT Jika cara diatas tidak berhasil, coba tambahkan manual …

    awal bukuBaca teks (EPUB)

  14. Raspbian: NAT hostap ke eth0

    Onno Widodo Purbo

    … .php/Raspbian:_NAT_hostap_ke_eth0 Mengaktifkan NAT (masquerade) ke eth0 Edit /etc/sysctl.conf net.ipv4.ip_forward=1 Masquerade sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE sudo sh -c "iptables-save > /etc/iptables.ipv4.nat" Edit /etc/rc.local …

    awal bukuBaca teks (EPUB)

  15. OpenVPN: Instalasi di Ubuntu 24.04

    Onno Widodo Purbo

    … .8.0.0/24 -j SNAT --to 172.26.6.74 exit 0 Alternatif lain, run iptables command & sysctl command untuk verifikasi NAT rule setup sudo iptables -t nat -L -n -v sysctl net.ipv4.ip_forward Insert rules ke /etc/rc.local (kalau belum di insert) sudo sh /etc/rc …

    sekitar 50% dari bukuBaca teks (EPUB)

  16. OpenVPN: Instalasi di Ubuntu 18.04

    Onno Widodo Purbo

    … .8.0.0/24 -j SNAT --to 172.26.6.74 exit 0 Alternatif lain, run iptables command & sysctl command untuk verifikasi NAT rule setup sudo iptables -t nat -L -n -v sysctl net.ipv4.ip_forward Insert rules ke /etc/rc.local (kalau belum di insert) sudo sh /etc/rc …

    sekitar 50% dari bukuBaca teks (EPUB)

  17. OpenVPN: Instalasi di Ubuntu 20.04

    Onno Widodo Purbo

    … .8.0.0/24 -j SNAT --to 172.26.6.74 exit 0 Alternatif lain, run iptables command & sysctl command untuk verifikasi NAT rule setup sudo iptables -t nat -L -n -v sysctl net.ipv4.ip_forward Insert rules ke /etc/rc.local (kalau belum di insert) sudo sh /etc/rc …

    sekitar 50% dari bukuBaca teks (EPUB)

  18. 5G: Open5GS: Your First LTE

    Onno Widodo Purbo

    … can connect to internet, you must run the following command in Open5GS-PGW installed host. Check IP Tables $ sudo iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination …

    sekitar 58% dari bukuBaca teks (EPUB)

  19. 5G: Open5GS: Quick Start

    Onno Widodo Purbo

    … . You can check your current IP Table rules with the following commands (these tables are empty): ### Check IP Tables $ sudo iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source …

    sekitar 80% dari bukuBaca teks (EPUB)

  20. 5G: Open5GS: Install Ubuntu

    Onno Widodo Purbo

    … . You can check your current IP Table rules with the following commands (these tables are empty): Check IP Tables $ sudo iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source …

    sekitar 80% dari bukuBaca teks (EPUB)