Skip to content

> left side monitor _

Search
  • New
  • Home
  • Contact
  • Search

iptables

Block port 8080 on Linux using iptables

December 22, 2020 by devmin
iptables -A INPUT -p tcp --destination-port 8080 -j DROP
iptables-save
Add to my src(0)

Please login to bookmark

No account yet? Register

Categories LinuxTags block port, iptablesLeave a comment

Open port on Linux command using iptables

October 4, 2020October 4, 2020 by devmin

For this example let’s say we want to open port 8080

iptables -A INPUT -m state --state NEW -p tcp --dport 8080 -j ACCEPT
iptables-save 
Add to my src(0)

Please login to bookmark

No account yet? Register

Categories Debian, Fedora, Linux, MintLinux, UbuntuTags iptables, openportLeave a comment

Your library

  • Please login to view Category

Src

  • No bookmark found

Main library

  • cron job (1) (1)
  • Docker (4) (4)
  • ELK (2) (2)
  • For fun (1) (1)
  • Graphviz (1) (1)
  • Ionic (1) (1)
  • Java (9) (9)
    • Quarkus (1) (1)
    • Spring (1) (1)
    • Spring-boot (1) (1)
  • Javascript (7) (7)
  • K8S (1) (1)
  • Kafka (1) (1)
  • Linux (43) (43)
    • Centos (2) (2)
    • Debian (12) (12)
    • Fedora (9) (9)
    • Lubuntu (7) (7)
    • MintLinux (11) (11)
    • nginx (3) (3)
    • Ubuntu (17) (17)
  • Maven (1) (1)
  • NodeJS (12) (12)
  • OSMC (1) (1)
  • Postgresql (2) (2)
  • Python (1) (1)
    • FastAPI (1) (1)
  • Terminal (1) (1)
  • Virtualbox (1) (1)
  • vscode (1) (1)
  • Windows (2) (2)
  • Windows 10 (1) (1)

Common

  • Create express app(2)
  • Use locate command to find files in Linux(1)
  • Express project structure(1)
  • Writing an Express middleware(1)
  • Mongoose save() not working/saving(1)

Latest

  • Share HDD drive on OSMC or Raspberry pi
  • vscode 1.60 terminal git bash windows
  • How to restart nginx on Linux
  • Test nginx config file using docker
  • Enable nested VT-x/AMD-V on Virtualbox
  • Try ‘apt –fix-broken install’ with no packages
  • Fix gitbash ssh vim edit backspace changed into question mark
  • How to completely remove Ubuntu from Windows dual boot without USB
  • Install Mongodb on Ubuntu
  • Cannot store MySQL workbench password on Ubuntu

Topics

bootstrap Command Lines Debian docker docker-compose express Express Generator ExpressJS Fedora Fedora33 gcloud Google Chrome Helloworld install iptables java javascript Jenkins Linux LinuxMint lubuntu mongo mongodb mongodb server mongoose nginx Node NodeJS Node Version Manager NPM NVM osmc PostgreSQL raspberry-pi server sharehdd Springboot Spring boot startup Terminal Terrminal Ubuntu Virtualbox vscode VS Code
© 2023 > left side monitor _ • Powered by WPKoi
Scroll back to top