Category Archives: Networking

Microsoft VPN PPTP client through Cisco ASA Firewall

Scenario: Using Microsoft Windows built in VPN Client to connect to remote PPTP VPN server through Cisco ASA firewall. Symptom: Error 619 Solution: In ASA Firewall, enter below command. ASA-active#conf t ASA-active(config)#policy-map global_policy ASA-active(config-pmap)# class inspection_default ASA-active(config-pmap-c)#inspect pptp ASA-active(config-pmap-c)#exit ASA-active(config)#access-list $Inbound_Interface_ACL permit gre $source_ip/network any ASA-active(config)#access-list $Inbound_Interface_ACL permit permit tcp $source_ip/network any eq pptp Common… Read More »

Loading

Cisco NAT with route-maps for multiple destinations

object-group network og-rfc1918 10.0.0.0 /8 172.16.0.0 /12 192.168.0.0 /16 ! ip access-list extended acl-nat permit ip object-group og-rfc1918 any ! route-map rm-site-a match ip address acl-nat match interface FastEthernet0/0 ! route-map rm-site-b match ip address acl-nat match interface FastEthernet1/0 ! ip nat inside source route-map rm-site-a interface FastEthernet0/0 overload ip nat inside source route-map rm-site-b… Read More »

Loading

Cisco Multi Homed Internet Config

Found this article from Cisco Forum. Credits to original author. Introduction Network Address Translation is a very common feature used to address some issues and also to meet some networks’ requirements such as, overlapped networks and Internet links. In this small document we will discuss a business requirement example, and the main idea behind this… Read More »

Loading

OpenWRT Adblock with Pixelserv

There’re many ways of doing this. The scenario and configuration is flexible enough, depending on what you want to achieve. The easy way Others have recently developed packages for this same functionality, and done it better than anything I could do. Use the packages instead of this script: Gargoyle package by @lantis1008 OpenWRT package by… Read More »

Loading

OpenDNS update script on OpenWRT Backfire 10.03.

AUTHOR: [email protected] Install ‘curl’ package: # opkg update # opkg install curl Next create a script and call it /root/rc.ddns_opendns.sh : #/bin/sh /usr/bin/curl -4 -k -u username:password “https://updates.opendns.com/account/ddns.php?” Make the script executable: # chmod +x /root/rc.ddns_opendns.sh Next create another script and call it /etc/hotplug.d/iface/100-opendns : #!/bin/sh if [ “$ACTION” = ifup ]; then /root/rc.ddns_opendns.sh >… Read More »

Loading