Kategoriarkiv: Networking

Normal SMTP operation

open connection to SMTP server (telnet smtp.foo.dns 25) send: –smtp start– MAIL FROM:<dude@myserver.dk> RCPT TO:<dude1@yourserver1.dk> RCPT TO:<dude2@yourserver2.dk> DATA write the entire mail here remember, this mail doesn’t got a header which usually contains sender info and topic end the conversation … Læs resten

Udgivet i Knowledge Base, Linux, Networking, Old Base | Skriv en kommentar

CoooL’s router

#!/bin/sh # default iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT # flush iptables -t filter -F INPUT iptables -t filter -F FORWARD iptables -t filter -F OUTPUT iptables -t nat -F PREROUTING iptables -t nat … Læs resten

Udgivet i Knowledge Base, Linux, Networking, Old Base | Skriv en kommentar

PPPoE (router) i freebsd

To enable PPPoO in freebsd, your /etc/ppp/ppp.conf should look like this: default: set log Phase tun command set ifaddr 10.0.0.1/0 10.0.0.2/0 internet: set device PPPoE:INTERFACE set authname USERNAME set authkey PASSWORD set dial set login add default HISADDR Now “ppp … Læs resten

Udgivet i FreeBSD, Knowledge Base, Networking, Old Base | Skriv en kommentar

ipv6 tools

http://www.argh.org/IPv6/IPv6-HOWTO/IPv6-HOWTO-3.html

Udgivet i Knowledge Base, Links, Linux, Networking, Old Base, Uncategorized | Skriv en kommentar

irc bouncer

iptables -t nat -A PREROUTING -p tcp -d 10.2.1.1 –dport 16667 -j DNAT –to 80.161.143.54:6667  

Udgivet i IRC, Knowledge Base, Linux, Networking, Old Base | Skriv en kommentar

BT’s meget fucked router

————— | geekhosting | (route 10.2.0.0/16 gw 10.20.1.5) ————— -|- pppX 10.20.1.5 | | (Internet) | | ————— | | router | (route 10.0.0.0/8 gw 10.2.1.1) ————— -|- LANIF 10.2.1.2 | | | -|- pppY 10.20.1.6 -|- eth0 10.2.1.1 ————— … Læs resten

Udgivet i Knowledge Base, Linux, Networking, Old Base | Skriv en kommentar

NAT omskrivning mellem to net

(WAN) netmask 10.0.0.0/8 geekhosting.dk route add -net 10.168.10.5 gw 10.20.1.3 pppX 10.20.1.3 –|– | | pppY 10.20.1.4 –|– netmask 10.168.10.0/24 cyberfamily.dk | |—————| ————— ————— | prerouting | | postrouting | iptables -A PREROUTING -t nat -s 10.0.0.0/8 -d 10.168.10.5 … Læs resten

Udgivet i Knowledge Base, Linux, Networking, Old Base, Uncategorized | Skriv en kommentar

Unifix party firewall

#!/bin/sh # default iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT # flush iptables -t filter -F INPUT iptables -t filter -F FORWARD iptables -t filter -F OUTPUT iptables -t nat -F PREROUTING iptables -t nat … Læs resten

Udgivet i Knowledge Base, Linux, Networking, Old Base | Skriv en kommentar

Where to get all the rfc’s in a single file

ftp://ftp.rfc-editor.org/in-notes/tar/RFC-all.tar.gz

Udgivet i Knowledge Base, Links, Networking, Old Base | Skriv en kommentar

Round Robin Dns

Round Robins Dns is a simple form of load ballancing, you have 2 or more servers which provides the same servive e.g. irc or www. You want half of the users to use server A and the other half to … Læs resten

Udgivet i Domain Name System, Knowledge Base, Networking, Old Base | Skriv en kommentar