Tuesday, April 24, 2007
Google , Yahoo , MSN What else!!!
Tuesday, March 06, 2007
How to get Public IP on Airtel Broadband
How to get public IP address on Airtel Broadband Connection?
What is IP Address?
An IP address (Internet Protocol address) is a unique number that devices use in order to identify and communicate with each other on a computer network utilizing the Internet Protocol standard (IP)
What is public IP Address?
Public IP Addresses are IP addresses that are visible to the public. Because they are public, they allow other people to know about and access your compute
Why do I need public IP Address?
You need public IP Address if you want to access your computer from some where apart from your home.
· Open Internet Explorer or any Internet Browser
· visit http://192.168.1.1
· you will get following screen
· click on WAN and you will see following screen
· Select Remove Check-Box and click on Remove
· Now Click on Add button
- You will get Following
- ATM PVC Configuration
This screen allows you to configure an ATM PVC identifier (VPI and VCI) and select a service category. Otherwise choose an existing interface by selecting the checkbox to enable it.
VPI: [0-255] | |
VCI: [0-65535] |
· Put 1 in VPI, and 32 in VCI.
· Click on Next
· You will get Connection Type
· Select the type of network protocol and encapsulation mode over the ATM PVC that your ISP has instructed you to use.
PPP over ATM (PPPoA) |
|
PPP over Ethernet (PPPoE) |
|
MAC Encapsulation Routing (MER) |
|
IP over ATM (IPoA) |
|
Bridging |
· Select Bridging
· And Encapsulation Mode
· Click on next
·
· Give Name to Service Name
· Click on next
· You will get following Screen
· Click on Save
· Now Reboot your Beetel Modem/Router
· Now, Your Modem setting is fixed.
· Now We need to create a connection for accessing internet
· To Create new connection right click on “My Network Place” and click on create new connection
· Click Connect to the internet
· Setup my connection manually
· Connect using a broadband connection that requires a username and password
· ISP Name: Airtel
· Username:
· Password: Your Broadband password,
· Call at 121 if you do not know your user name and password
· Double click on the Airtel Icon and you will be connected to internet
Now to check your computer IP address
Click Start->Run
Type cmd and press enter
On command prompt type ipconfig /all
You will see some of the following entries
1. go to http://192.168.1.1
2. go to WAN
3. delete existing rows
4. add new row with following values:
4a. ATM PVC Configuration - VPI: 1 VCI: 32
4b. Connection Type - Bridging LLC/SNAP-BRIDGING
4c. Enable Bridge Service (checked) Service Name: pppoe_1_32
4d. Save
5. Save/Reboot (on WAN page)
The above steps will transfer control to your machine. Now, following steps prepare machine to connect with ISP and obtain Internet IP:
6. Create new connection (from network connections) (note that there is already one lan connection to the router; now we create a new connection to connect to the internet)
7. Select - Connect to the internet
8. Select - Setup my connection manually
9. Select - Connect using a broadband connection that requires a username and password
10. ISP Name: whatever
11. Username: xxxxx@bairtelbroadband.in Password: - this info you can get from airtel
12. Finish
In the lan connection:
IP: 192.168.1.2
Mask: 255.255.255.0
Default Gateway: 192.168.1.1
DNS: get from airtel
Now, keep the lan connection active always. And the internet connection will have the ip accessible from internet. This will be static as long as this connection is active. You can see this from ipconfig (on command prompt). Run http server on port 80 and try accessing from your own machine with the internet ip. You can configure windows firewall to allow connections to come in through other ports.
hope this helps.
Sunday, January 09, 2005
SNMP Computer Networking TCP/IP C++ Linux Unix Windows Solaris VoIP Security
Introduction:
Almost all the corporate companies, colleges and schools are limiting internet by blocking some specific type of sites and applications. As there are millions of website those are considered as adult in nature and those should not be viewed at work place. Some organizations block Instant Messengers. (i.e. Yahoo Messenger, MSN Messenger, Rediff Bol, Indiatimes Messenger, Chikka, AOL Messenger, IRC chats). And most of the offices PC are behind Firewall and they are allowed to access internet via HTTP-Proxy server only. This means you can go to some websites but you cannot enter to your office PC from outside. Some companies provide alternate way to access office PC from home via Official VPN connection. But some time when we want to access some website and found that is blocked by office firewall, It is really irritating for us when we want to talk to our friends and it is blocked by firewall. I believe in unrestricted access to internet, and you are reading this document so I assume you also believe in the same.
How office/college/school restrict internet access?
If you already know this, then you can skip this section. Mostly they use Firewall to restrict internet connection. This firewall can be a software firewall or a hardware firewall. For discussion it does not matter whether it is a software or hardware. Internet connections works on the basis of IP address and port numbers. When we access some website using its name such as www.google.com internally it is converted into numbers something like 202.123.123.404. So when you access www.google.com firewall knows that you are accessing something at 202.123.123.404 and not its in hand of firewall whether it allows to reach at that address or not. Firewall has rules depending on these rules firewall allows communicate with websites. Some firewall works by looking at the contents of the website, based on the content firewall decide whether this site is allowed or not. This explains how they restrict websites.
For communicating to other computers one should know either there names (such as www.google.com) and there services number (that is port number). For example when you use Yahoo Messenger, typically it contacts yahoo on scs.msg.yahoo.com, on port number 5050. So firewall can restrict this messenger to make a call between your PC and yahoo server. Firewall can allow on some ports and restrict on some port as defined by the network administrator.
What is the concept behind bypassing firewall?
As from office we can go to www.google.com. And I assume that you can reach your home using your home ipaddress. We will create a tunnel from office to home. From home we can go where ever we want to go on internet. Following picture will explain it.What we need to bypass firewall?
You need following1. I assume you are using windows machine.
2. Office PC with internet
3. Outside PC with internet to which you can reach.
4. Software for creating tunnel. These are free software so you dont need to pay for them.
5. download SSH Server and client and install them on your both PC
6. SSH server can be downloaded from http://www.openssh.com/
7. Install SSH server on your both pc.
8. For installation refer documentation on the site.
9. Be ensure that you created an user name and password for accessing your SSH server
10. Links for Free SSH clients are available on the OpenSSH website or you can download popular SSH client putty from http://www.putty.nl/download.html
11. For installation of putty we do not need to do anything. Just download it and run it.
12. If your office allows you to go outside on port 22 then you do not need to do anything on SSH server.
13. But if your office does not allow go out side on port 22 then you need to configure SSH server to run on either port 80 or port 443 at your home pc only.
14. For configuring the server you need to locate sshd_config file and find and replace Port 22 with Port 443 or Port 80, save the file and restart SSH server.
15. for SSH client configuration refer following snapshot for configuration at office side
16. When you run put
20. click on Tunnels and you will be at following screen
21.
22. In this screen.
23. in Source Port you can write any number above 1024, for example 2009
24. in the destination you need to write port of your machine from where you can go outside, let say port 8080 and your machine ipaddress. Now screen will look like
25.
26. Now press Add, and click on the Session in the left panel
27.
28. Enter your home ip address or domain name in the Host Name box and in the port you can specify 443 or 80 where ever ssh server is running at your home.
29. Now click on open and you will get something like following screen.
30.
31. Click on Yes, and you will get
32.
33. Enter your user name and password.
34. You will get command prompt of your home PC.
This process will make a tunnel from your office to your home. Now we need to setup a proxy server at your home say that you can use it to access websites.
Download apache from free proxy available from the internet and change its default port 8080.
At you office you need to change your proxy server to 127.0.0.1 and port number to 2009.
Now you can freely access any website securely so that nobody can see what you are accessing over the net.