In Feburary 2016 28,
Open a terminal. The procedure to do this will depend on your operating system. Most Unix and Linux systems either open a terminal immediately on start up or have a terminal icon somewhere on the desktop. In Mac OS X, click the 'Spotlight' button and type 'Terminal.' In Windows, click 'Start,' 'Run' and type 'cmd.'
Type the following :sed '/$/G'This tells sed to search the text for all end of lines ($) and add a new line (G), effectively double-spacing the file. Alternatively, if you want to insure that there is never more than one blank line between paragraphs, change the command to read:sed '/^$/d;G' This tells sed to match only completely blank lines (^$), delete those blank lines (d) and replace them with a single new line (G).
Feed the data from a text file into sed by typing the following:cat textfile.txt | sed '/^$/d;G'
In Feburary 2016 28,
Showing posts with label OS. Show all posts
Showing posts with label OS. Show all posts
Sunday, 28 February 2016
How to Set up Port Forwarding for a NetworkIn Feburary 2016 28,
In Feburary 2016 28,
Make a list of ports you need to forward. Most programs require their ports to be forwarded; if this is not done, information from these programs will not be seen by your local computer. If you know a program for which ports need to be forwarded, write it down. Afterwards, check the software manufacturer's website to find the port or series of ports along with the protocol type associated with your program/application of interest. Write this down as well.
Set up a static IP address on the computer for which ports will be forwarded. To set up a static IP address on a Mac OS X, simply click the apple icon on the top left corner of the screen, select 'System Preferences' and under 'Internet and Network,' select 'Network.' Select the network connection you are currently using and click 'Configure.' Click 'Configure IPv4' and select 'Manually.' The IP address you select should be similar to your router's IP address with the last number ranging range from 1-254. Typically, you can add 10 or more to the your router's last number. This should work in most cases as a static IP address. For instance, if your router's address is 192.168.1.1, you can choose 192.168.1.11 as your static IP address.
Start forwarding your ports by accessing your router's website. Open a web browser (Explorer, Safari or Firefox) and enter your router's IP address after the http://. This should lead you to your router's website. Locate the links which will lead you to Port Forwarding or Port Redirection. Once there, simply indicate the Program/Application Name, protocol type (TCP or IP) and port number(s) on both the public and private ports. You might need to check off a box to indicate that you would like to activate this port. Click 'OK' or 'Save' to save your settings.
Reconfigure your firewall so that you are able to open ports that are being blocked by your firewall. Alternatively, you can disable your firewalls and turn them on manually one at a time to see which firewall is blocking ports from entering your LAN.
In Feburary 2016 28,
Make a list of ports you need to forward. Most programs require their ports to be forwarded; if this is not done, information from these programs will not be seen by your local computer. If you know a program for which ports need to be forwarded, write it down. Afterwards, check the software manufacturer's website to find the port or series of ports along with the protocol type associated with your program/application of interest. Write this down as well.
Set up a static IP address on the computer for which ports will be forwarded. To set up a static IP address on a Mac OS X, simply click the apple icon on the top left corner of the screen, select 'System Preferences' and under 'Internet and Network,' select 'Network.' Select the network connection you are currently using and click 'Configure.' Click 'Configure IPv4' and select 'Manually.' The IP address you select should be similar to your router's IP address with the last number ranging range from 1-254. Typically, you can add 10 or more to the your router's last number. This should work in most cases as a static IP address. For instance, if your router's address is 192.168.1.1, you can choose 192.168.1.11 as your static IP address.
Start forwarding your ports by accessing your router's website. Open a web browser (Explorer, Safari or Firefox) and enter your router's IP address after the http://. This should lead you to your router's website. Locate the links which will lead you to Port Forwarding or Port Redirection. Once there, simply indicate the Program/Application Name, protocol type (TCP or IP) and port number(s) on both the public and private ports. You might need to check off a box to indicate that you would like to activate this port. Click 'OK' or 'Save' to save your settings.
Reconfigure your firewall so that you are able to open ports that are being blocked by your firewall. Alternatively, you can disable your firewalls and turn them on manually one at a time to see which firewall is blocking ports from entering your LAN.
In Feburary 2016 28,
Subscribe to:
Comments (Atom)