Windows Support Tools

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Tuesday, 7 April 2009

Miley Cyrus - 7 Things - Official Music Video (HQ)

Posted on 11:43 by Unknown
Read More
Posted in | No comments

Elissa - Agmal Ehsas

Posted on 09:10 by Unknown
Read More
Posted in | No comments

Wednesday, 1 April 2009

HOW TO Configure NAT for a Small Office and a Web Server

Posted on 02:55 by Unknown

This document explains how to use Network Address Translation (NAT) to connect a single machine with a single public (outside) IP address, while simultaneously NAT'ing other multiple machines to a different Internet IP address. This type of configuration is common for many small offices running an internal web server. The features used in this HOW TO are STATIC NAT and MASQUERADE NAT.

Network Address Translation (NAT) is most often used to allow a large number of machines to connect to the Internet using a single IP address. Often a service provider will assign a small group of IP addresses (4 - 16 addresses) to a site which needs to connect multiple computers (30 or more computers) to the Internet.

Note: Throughout this document, the addresses 10.192.192.0 - 255 will be used to represent the "public IP address block". The IP address 192.168.0.0 - 255 will be used to represent the "private IP address block". For more information on public and private IP addressing see RFC 1918 (ftp://ftp.rfc-editor.org/in-notes/rfc1918.txt) or the Vyatta Knowledge Base Entry "Public and Private IP Addresses Explained".
Please be sure to replace the addresses used for this document with the addresses assigned by your Internet Service Provider (ISP).

PROCEDURE

Configure the primary IP addresses on the outside interface
Configure the secondary IP address on the outside interface
Configure the primary IP address on the inside interface
Configure a default gateway
Configure outbound STATIC NAT rule
Configure an inbound STATIC NAT rule
Configure an outside MASQUERADE rule
Test the configuration

1. Configure the primary IP address on the outside interface

Configuration of the primary IP address of the router on the outside interface sets up the router to connect to the Internet. This is also the address which will be used in for the MASQUERADE section of the NAT. Many hosts on the inside of the network will use this IP address when connecting to the Internet.

set interfaces ethernet eth0 address 10.192.192.2 prefix-length 24

2. Configure the secondary IP address on the outside interface

The secondary IP address on the outside interface is the Internet-facing IP address of the web server.

set interfaces ethernet eth0 address 10.192.192.84 prefix-length 24

3. Configure the primary IP address on the inside interface

The primary IP address on the inside interface will be the IP address on the local office LAN. This address will be used as the default gateway for all PC's on the local network.

set interfaces ethernet eth1 address 192.168.0.1 prefix-length 24

4. Configure the a default gateway

The default gateway is an address which is assigned by an Internet Service Provider (ISP) to a customer. The default gateway address is the IP address of the router at the ISP which will receive all traffic destined for the Internet.

set system gateway-address 10.192.192.1

5. Configure the outbound STATIC NAT rule

The outbound STATIC NAT rule configures the Vyatta router to send all traffic it receives from the web server's address on the office LAN using the outside address of the web server on the Internet.

set service nat rule 13
set service nat rule 13 type source
set service nat rule 13 outbound-interface eth0
set service nat rule 13 protocols all
set service nat rule 13 source address 192.168.0.17
set service nat rule 13 destination network 0.0.0.0/0
set service nat rule 13 outside-address address 10.192.192.84

6. Configure an inbound STATIC NAT rule

The inbound STATIC NAT rule configures the Vyatta router to send all traffic it receives from the Internet on the outside address of the web server to its inside address.

set service nat rule 14
set service nat rule 14 type destination
set service nat rule 14 inbound-interface eth0
set service nat rule 14 protocols all
set service nat rule 14 source network 0.0.0.0/0
set service nat rule 14 destination address 10.192.192.84
set service nat rule 14 inside-address address 192.168.0.17

7. Configure an outside MASQUERADE rule

The outside MASQUERADE rule configures the Vyatta router to send any traffic from the office LAN to the Internet using the outside IP address of the Vyatta router. MASQUERADE is used only for outbound traffic. Traffic which is part of an outbound session which originated from the office LAN will be associated with the originating host.

set service nat rule 20
set service nat rule 20 type masquerade
set service nat rule 20 outbound-interface eth0
set service nat rule 20 protocols all
set service nat rule 20 source network 192.168.0.0/24
set service nat rule 20 destination network 0.0.0.0/0

8. Test the configuration

Using a web browser go to a site such as http://www.whatismyip.com/ from the STATIC NAT'ed machine, in this case the web server. The IP address which should appear is 10.192.192.84.

Using a web browser go to http://www.whatismyip.com/ from a MASQUERADEd machine, in this case any machine on the office LAN which is not the web server. The IP address which should appear is 10.192.192.1.



MORE INFORMATION

For more information about the Vyatta CLI see the Vyatta website at: http://www.vyatta.com/documentation

For more information on RFC 1918: ftp://ftp.rfc-editor.org/in-notes/rfc1918.txt

Vyatta Knowledge Base "Public and Private IP Addresses Explained"



REFERENCES

RFC 1918: ftp://ftp.rfc-editor.org/in-notes/rfc1918.txt



LAST REVISED

25-NOV-2007 - spk



Applies to Product

Vyatta Software - Not Hardware Specific
Vyatta 514
Non-Vyatta Hardware
Vyatta 2501


Applies to Software

v2.3.1
v2.3
v2.2
Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Receiving Error 'ORA-01041: internal error. hostdef extension doesn't exist.' on re-establishing a connection to Oracle.
    You can receive the error message 'Error ORA-01041: internal error. hostdef extension doesn't exist' when attempting to re-esta...
  • Google Sinks Cash into Undersea Cable
    Google has joined the Unity consortium, which will build a $300 million fiber optic cable linking the US and Japan. The 7.68 Tbps, 10,000 ki...
  • Troubleshooting the Microsoft Exchange Transport Service When It Fails to Start on an Exchange 2007 Hub Transport Server with Event ID 1032 or 1036
    Event ID: 1032 Socket Access Denied. Binding: 0.0.0.0:25. Event ID: 1036 Failed to open one or more bindings. The service will be stopped....
  • C Traps and Pitfalls (Addison Wesley, 1989, English)
    C Traps and Pitfalls teaches how the peculiarities of the C language make it easy for the intended behavior of a program and the actual beha...
  • SoftMaker Office 2008 Free Full Version Download With Genuine License Key
    SoftMaker Office 2008 is reliable office productivity software that is designed for beginners and professional users. SoftMaker Office Suite...
  • Amazon Takes the Humans Out of Fulfillment With New API
    keeps adding to its Web services. Today, it is opening up an API for its Fulfillment by Amazon service, which allows online merchants to out...
  • AP Microsoft backs Icahn's bid to oust Yahoo board
    SAN FRANCISCO - Microsoft Corp. threw its weight behind investor Carl Icahn's effort to dump Yahoo Inc.'s board, saying Monday that...
  • Suba Vesak Mangallayak Weewa !!!!
    Keep your heart free from hate your mind from worry, Live simply expect little, give much Fill your life with love forget self, think of ot...
  • How to Remove Dosearches.com homepage (Virus Removal Guide)
    Dosearches.com  is a browser hijacker, which is promoted via other free downloads, and once installed it will change your browser homepage t...
  • Alcohol 120% v5 Blu-ray Burner Free Download with Registration Unlock Code
    Alcohol 120% is a CD and DVD burning, copying, backup, recording, duplication, emulation and creation software for Windows. In addition to c...

Categories

  • ISA Firewall
  • ISA Server 2006
  • Quick Tips
  • Reports
  • Tips

Blog Archive

  • ►  2013 (7)
    • ►  October (6)
    • ►  February (1)
  • ►  2012 (10)
    • ►  September (3)
    • ►  August (3)
    • ►  July (3)
    • ►  June (1)
  • ►  2011 (16)
    • ►  August (2)
    • ►  July (4)
    • ►  June (3)
    • ►  May (1)
    • ►  April (1)
    • ►  March (4)
    • ►  January (1)
  • ►  2010 (12)
    • ►  December (3)
    • ►  October (4)
    • ►  March (1)
    • ►  January (4)
  • ▼  2009 (67)
    • ►  August (2)
    • ►  July (18)
    • ►  June (23)
    • ▼  April (3)
      • Miley Cyrus - 7 Things - Official Music Video (HQ)
      • Elissa - Agmal Ehsas
      • HOW TO Configure NAT for a Small Office and a Web ...
    • ►  March (6)
    • ►  February (7)
    • ►  January (8)
  • ►  2008 (319)
    • ►  December (30)
    • ►  November (43)
    • ►  October (45)
    • ►  September (12)
    • ►  August (18)
    • ►  July (27)
    • ►  June (15)
    • ►  May (7)
    • ►  April (55)
    • ►  March (65)
    • ►  January (2)
  • ►  2007 (10)
    • ►  December (2)
    • ►  November (8)
Powered by Blogger.

About Me

Unknown
View my complete profile