[mi-shortcode-followus]

Opening Ports in Windows and Ubuntu

For opening ports in Windows, you just need to follow these simple instructions:

Go to the Control Panel and click System and Security.
In the resulting window, click Windows Firewall.
In the Windows Firewall window, click Advanced Settings on the left pane.
Note: You must be logged in as an Administrator to make changes to the Firewall Settings.opening port
You should see a window titled Windows Firewall with Advanced Security.

In this window, click Inbound Rules.
On the right pane, you will see an option for a New Rule. Click it.
Choose Port and click next
Choose the Type of Port you want, choose Specific port and write the port you want to open
Choose Allow Connection and click next.
Choose when do want to apply this rule and press next.
Last Step Name the Rule and Press Finish.

 

Related articles: VPN Port Forwarding

For opening ports in Ubuntu, you have two options; scripting or using wizard.

First: opening ports using wizard:
Open Gufw Firewall Configuration.
Click on the plus button under the rules
Give the rule a name.
Choose allow in policy combo box
Then choose both in Direction box.
Then choose do not log in “Log” box.
Write wanted port at “1” position, IP at “2” position the press add.
Second: Opening Port Using Scripting:

Before opening or closing ports, we recommend to first verify if the port is open or closed and who is using the port. There a number of different commands:
Commands to verify ports:
nmap IP#
nmap localhost
netstat –ntulp
to verify single port
netstat -nap | grep <port #>
to list all current rules in iptables
iptables -L
For opening a TCP port:
iptables -A INPUT -p tcp –dport <port #> -j ACCEPT
For opening a UDP port:
iptables -A INPUT -p udp –sport <port #> -j ACCEPT
Save changes:
iptables-save > /etc/iptables.rules
If you need to disable the firewall temporarily, you can flush all the rules using:
iptables -F

13 thoughts on “Opening Ports in Windows and Ubuntu

  1. achat kamagra aut rabais

    acheter kamagra en ligne moins cher

  2. cheapest buy enclomiphene generic is it safe

    buy enclomiphene price dubai

  3. buy androxal without rx

    online order androxal generic available in united states

  4. flexeril cyclobenzaprine in australia

    buying flexeril cyclobenzaprine generic when will be available

  5. buying dutasteride purchase online from canada

    cvs dutasteride prices

  6. discount gabapentin france where to buy

    how to order gabapentin us prices

  7. fildena without a r x

    generic fildena in nz

  8. online order itraconazole price netherlands

    how to order itraconazole where to purchase

  9. cheapest buy staxyn mastercard buy

    get staxyn price prescription

  10. buy cheap avodart generic equivalent

    buying avodart where to purchase

  11. how to order xifaxan new york city

    online order xifaxan cost uk

  12. purchase rifaximin generic united states

    ordering rifaximin australia generic online

  13. přes noc levné kamagra

    180 kamagra doručeno v sobotu

[mi-shortcode-offer]