^

Wiki - Networking

Category about Networking

Sub-Categories: [Proxmox] [Mail] [IpTables]

Proxmox

Proxmox Bridge and Nat Interfaces Example

This script is for a proxmox host to set up 2 bridges. 1 provides static ip 4 and 6 to vservers 1 provides NAT routed connection Start of /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback...

Mail

Postfix Backup Mailserver

This is an easy postfix configuration to backup all emails going to specified domains until the master server is online again. Postfix Configuration [replace yourhostname with your hostname]: smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination myhostname = yourhostname alias_maps = hash:/etc/aliases alia...

IpTables

Forward Port with IPTables

This adds a rule to forwars port 1022 to port 22 (SSH) an another internal IP. iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 1022 -j DNAT --to 192.168.137.100:22 This removes the previous commands changes: iptables -t nat -D PREROUTING -i vmbr0 -p tcp --dport 1022 -j DNAT --to 192.168.137.100:22 ...

IpTables Flush And Allow All Traffic

USE WITH OWN RISK - ALL FIREWALL RULES WILL BE DELETED IPv4 iptables -F iptables -X iptables -t nat -F iptables -t nat -X iptables -t mangle -F iptables -t mangle -X iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT IPv6 ip6tables -F ip6tables -X ip6tables -t nat -F ip6tables -t nat -X ip6tables -t mangle -F ip6tables -t...

Simple Firewall Setup Script

Attention! This script has been written 2010 and could be outdated. Start.SH - Start Firewall #!/bin/sh #Start Firewall #Copyright by Xeno # echo echo Firewall Starter echo echo Die Firewall wird gestartet und der Port 22 SSH echo für die Fernkontrolle freigegeben. echo echo Wollen sie die Firewall nun aktivieren? y/n read RESPONSE echo if [ $...

Theme
A42 | H41
This Website is using Session Cookies for Site Functionality and AWStats.