This script is for a proxmox host to set up 2 bridges. 1 provides static ip 4 and 6 to vservers<br /> 1 provides NAT routed connection Start of /etc/network/interfaces # This file describes the network interfaces available on your system<br /> # and how to activate them. For more information, see interfaces(5). source /etc/ne...
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<br /> myhostname = yourhostname<br /> ...
This adds a rule to forwars port 1022 to port 22 (SSH) an another internal IP.<br /> iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 1022 -j DNAT --to 192.168.137.100:22<br /> <br /> This removes the previous commands changes:<br /> iptables -t nat -D PREROUTING -i vmbr0 -p tcp --dport 1022 -j DNAT --to 192.1...
USE WITH OWN RISK - ALL FIREWALL RULES WILL BE DELETED IPv4<br /> <br /> iptables -F<br /> iptables -X<br /> iptables -t nat -F<br /> iptables -t nat -X<br /> iptables -t mangle -F<br /> iptables -t mangle -X<br /> iptables -P INPUT ACCEPT<br /> iptables -P FORWARD ACCEPT<br /> iptables -P...
Attention! This script has been written 2010 and could be outdated. Start.SH - Start Firewall #!/bin/sh<br /> #Start Firewall<br /> #Copyright by Xeno<br /> # echo<br /> echo Firewall Starter<br /> echo<br /> echo Die Firewall wird gestartet und der Port 22 SSH<br /> echo für die Fernkontrolle frei...