Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

iptables

How iptables tables and chains are traversed

August 11, 2022 by Magenaut

I know linux has 3 built-in tables and each of them has its own chains as follow:

Categories Q&A, Unix & Linux Tags firewall, iptables Leave a comment

Port forward to VPN Client?

August 10, 2022 by Magenaut

I’ve run into a bit of a puzzle and haven’t had much luck finding a solution. Right now I am (sadly) connected to the net via Verizon 3G. They filter all incoming traffic so it is impossible for me to open ports to accept connections.

Categories Q&A, Unix & Linux Tags iptables, openvpn, port-forwarding, vpn Leave a comment

iptables forward all traffic to interface

August 10, 2022 by Magenaut

I have two interfaces eth1 and eth0. I want all traffic on eth0to be forwarded to eth1. I created an iptable rule like this:

Categories Q&A, Unix & Linux Tags iptables Leave a comment

Only allow certain outbound traffic on certain interfaces

August 10, 2022 by Magenaut

I have rather an odd issue. I have a server with two network interfaces eth0 and eth1. Each are connected to a different network. Each network has a internet gateway. The server has various outbound connections: http (some scripts on the server scrape websites), nfs client, samba client, dns client and an email fetcher to name but a few.

Categories Q&A, Unix & Linux Tags iptables, networking Leave a comment

Is it better to set -j REJECT or -j DROP in iptables?

August 10, 2022 by Magenaut

There’s an example of iptables rules on archlinux wiki:

Categories Q&A, Unix & Linux Tags firewall, ip, iptables, tcp, udp Leave a comment

Why do iptables rules disappear when restarting my Debian system?

August 10, 2022 by Magenaut

I add this rule:

Categories Q&A, Unix & Linux Tags boot, debian, iptables Leave a comment

Difference between SNAT and Masquerade

August 9, 2022 by Magenaut

I am confused what’s the actual difference between SNAT and Masquerade?

Categories Q&A, Unix & Linux Tags firewall, iptables Leave a comment

Linux as router with multiple internet providers

August 9, 2022 by Magenaut

Linux as router: I have 3 Internet providers, each with its own modem.

Categories Q&A, Unix & Linux Tags iproute, iptables, linux, nat, routing Leave a comment

Configuring OpenVPN to use Firewalld instead of iptables on Centos 7

August 9, 2022 by Magenaut

I need to configure OpenVPN on Centos 7 using firewalld.

Categories Q&A, Unix & Linux Tags centos, firewalld, iptables, openvpn Leave a comment

OpenVPN Client and Server on same machine – Server doesn’t allow connections when client is connected

August 9, 2022 by Magenaut

I am new to this community and am hopeful that somebody can help me. Please let me know if I haven’t posted all required information.

Categories Q&A, Unix & Linux Tags iptables, openvpn, raspberry-pi, routing, vpn Leave a comment
Older posts
Page1 Page2 Page3 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress