Marius van Witzenburg We fight for our survival, we fight!

27aug/110

How to “disable” the VLAN1 on a Cisco SLM 2048 switch

Posted by mariusvw

I have been busy with this but with a wrong way of thinking...

How you can disable it? Simple, leave it on VLAN1 and move all ports except one to another VLAN.

You can do this in the port configuration, set the ports to your own VLAN by changing the PVID (VLAN ID).

22jun/111

How to make a VPN connection with Mac OS X on your iMac or Macbook (pro) to a FRITZ!Box

Posted by mariusvw

If you need some more info on how to configure your FRITZ!Box check out How to configure VPN on your FRITZ!Box 7340.

Configure your iMac or Macbook (Pro) to use VPN to your FRITZ!Box router VPN service.

First add a new VPN config by clicking the plus at the left bottom.

Next is to select Cisco IPsec and fill out a name at the Service Name field. This can be something like Home VPN.

Next is to fill out the VPN information in this configuration.

  • Server Address: add the IP or Host of your FRITZ!Box WAN connection.
  • Account Name: add YOUR_USERNAME.
  • Password: add YOUR_PASSWORD.

Click Authentication Settings and fill out the following.

  • Shared Secret: YOUR_SHARED_PASSWORD.
  • Group Name: add YOUR_MAIL_ADDRESS.

Geëtiketeerd als: , , , , , , , 1 Reactie
22jun/110

How to make a VPN connection with iOS on your iPod or iPhone to a FRITZ!Box

Posted by mariusvw

If you need some more info on how to configure your FRITZ!Box check out How to configure VPN on your FRITZ!Box 7340.

Configure your iPod or iPhone to use VPN to your FRITZ!Box router VPN.

Goto the "Settings" of your iPod or iPhone and then goto "General".

Goto "Network".

Goto "VPN".

Goto "Add VPN Configuration...".

Fill out the screen below...

  • 1. add your own fancy description.
  • 2. add the IP or Host of your FRITZ!Box WAN connection.
  • 3. add YOUR_USERNAME.
  • 4. add YOUR_MAIL_ADDRESS.
  • 5. add YOUR_SHARED_PASSWORD.

To setup a FRITZ!Box router check out the following, it might help you getting started.

How to configure VPN on your FRITZ!Box 7340

Geëtiketeerd als: , , , , , , , Geen reacties
22jun/112

How to configure VPN on your FRITZ!Box 7340

Posted by mariusvw

FRITZ!Box

Setup the VPN settings on the FRITZ!Box with a VPN config file.

Save the content below to a file named vpn.cfg

vpncfg {
        connections {
                enabled = yes;
                conn_type = conntype_user;
                name = "YOUR_MAIL_ADDRESS";
                always_renew = no;
                reject_not_encrypted = no;
                dont_filter_netbios = yes;
                localip = 0.0.0.0;
                local_virtualip = 0.0.0.0;
                remoteip = 0.0.0.0;
                remote_virtualip = VPN_CLIENT_IP;
                remoteid {
                        key_id = "YOUR_MAIL_ADDRESS";
                }
                mode = phase1_mode_aggressive;
                phase1ss = "all/all/all";
                keytype = connkeytype_pre_shared;
                key = "YOUR_SHARED_PASSWORD";
                cert_do_server_auth = no;
                use_nat_t = yes;
                use_xauth = yes;
                use_cfgmode = no;
                xauth {
                        valid = yes;
                        username = "YOUR_USERNAME";
                        passwd = "YOUR_PASSWORD";
                }
                phase2localid {
                        ipnet {
                                ipaddr = 0.0.0.0;
                                mask = 0.0.0.0;
                        }
                }
                phase2remoteid {
                        ipaddr = VPN_CLIENT_IP;
                }
                phase2ss = "esp-all-all/ah-none/comp-all/no-pfs";
                accesslist = "permit ip any VPN_CLIENT_IP 255.255.255.255";
        }
        ike_forward_rules = "udp 0.0.0.0:500 0.0.0.0:500", "udp 0.0.0.0:4500 0.0.0.0:4500";
}

Replace the below values with the right settings for your network, I'll describe it with the default router values.

  • YOUR_MAIL_ADDRESS, replace this with your mail address.
  • VPN_CLIENT_IP, replace this with something like 192.168.178.201.
  • YOUR_SHARED_PASSWORD, replace this with your own preferred shared password.
  • YOUR_USERNAME, replace this with your VPN username, use [a-z] only.
  • YOUR_PASSWORD, replace this with your VPN password, mind quote signs!

This configuration has been tested on iOS and Mac OS X, check the manuals below to configure your client.

Geëtiketeerd als: , , , , , , , , 2 Reacties