Monthly Archives: December 2012

Setup VPN PPTP server on Mikrotik


Skenario:
VPN clients(192.168.90.2-10) — eth1(public ip):mikrotik:eth2(LAN 192.168.99.1) — LAN Clients (192.168.99.x/24)

System:
-Mikrotik RB750 RouterOS v5.20

I. Create pool ip address for VPN clients ip address
Example create pool for 9 VPN clients with ip address 192.168.90.2-192.168.90.10

/ip pool
add name=vpn-pool ranges=192.168.90.2-192.168.90.10

Continue reading

Setup Squid Tproxy Bridge CentOS 6.3


Skenario:
Router bandwidth management:192.168.99.1 — eth0:[Squid TPROXY Bridge(br0=192.168.99.15)]:eth1 — clients:192.168.99.x/24

 
I. Konfigurasi Network interfaces
-Install bridge-utils
# yum -y install bridge-utils

-Make bridge interface br0 then save
# vi /etc/sysconfig/network-scripts/ifcfg-br0

DEVICE=br0
ONBOOT=yes
TYPE=Bridge
BOOTPROTO=static
IPADDR=192.168.99.15
NETMASK=255.255.255.0
GATEWAY=192.168.99.1
DNS1=192.168.99.5
DNS2=192.168.99.6
DNS3=192.168.99.1

Continue reading