Cisco ASA Port Forward with ASDM

April 19th, 2010

Go to Configuration - NAT.  Click the “Add” button and choose “Add Static NAT

rule“.  Put in the following information in the various fields:

Under “Real Address”
Interface : inside
IP Address : 192.168.1.16
Netmask : 255.255.255.255

Under “Static Translation”
Interface : outside
IP Address : <click on the drop down arrow pick list and choose (interface IP)>

Check the box named “Enable Port Address Translation (PAT)”
Protocol : TCP
Original Port : 6500
Translated Port : 6500

Click “OK”

Now, do the above procedure again, filling in all fields with the same info, except choose “UDP” for the protocol when modifying the PAT configuration.

Next, you need to allow the traffic you just specified in your port forwarding rules.  Here’s how:

Go to Configuration - Security Policy.  Click “Add”.

Under “Interface and Action
Interface : outside
Direction : incoming
Action : permit

Under “Source”
Type : any

Under “Destination”
Type : <click on the drop down arrow pick list and choose (interface IP)>
Interface : outside

Under “Protocol and Service”
Protocol : tcp

Under “Source Port”, leave all defaults

Under “Destination Port”
Leave “Service” radio button enabled, and where it says “any”, type over this and put in 6500

Click “OK”.

Repeat this procedure with the same values, except under “Protocol and Service”, choose “udp”.

Click “OK”.

That should do it.  That will port forward any traffic received on the outside interface on destination port UDP/TCP 6500 and forward it to port UDP/TCP 6500 on internal host 192.168.1.16 from any Internet host.

De lang verwachte Arthur Frankenhuizen

June 16th, 2009

En wie is invredesnaam Arthur?

arthur frankenhuizen

http://www.geheugenvannederland.nl/?/nl/items/RIJK02:369924/&st=Frankenhuizen,%20Arthur&sc=Frankenhuizen,%20Arthur%20and%20isPartOf%20=%20RIJK02&singleitem=true

Uptime Slappy

April 26th, 2009

root@Slappy:~# uptime
15:11:30 up 439 days, 21:03,  1 user,  load average: 0.02, 0.01, 0.00
root@Slappy:~# ;D
-bash: syntax error near unexpected token `;’
root@Slappy:~#

Creating a 1gb test file for network testing? Easy!

April 21st, 2009

Want to create a 1gb test file for network testing? dont want to skrew around with dd and it’s parameters?

works on linux/unix and osx.

command:

  • mkfile 1g /home/user/path/1gb.bin
  • mkfile 10g /home/somepath/10gb.bin
  • mkfile 100m /home/pathtodirectory/100mb.bin

“If people in the Caribbean took life as seriously as this, they would never have invented mkfile. It’s seriously easy going.”

Valentijnsdag

February 14th, 2009

Een bloemetje voor je lief:
Bloemetje

(bij de onderburen)