Ubuntu :: Setting Up Static IP And Opening Ports?
Aug 30, 2010
I am trying to open a tunnel for a friend of mine who's isp has blocked a bunch of webpages, so I was thinking I would learn how to since it might come in handy in the future Anyway, so I looked at a couple of videos about going in to network settings and changing the setting to manual and write down the desired IP (in my case 192.168.0.137). Then I went into my router (it's a D-link DI 524) and tried adding my static IP as the DMZ computer. I then restarted, everything looked fine, the router saved the settings and the eth0 still hade the information saved so I wanted to try it out. I just googled "try my ports" and I found a website called [URL]...But no ports worked for me.. I tried double checking everything, checking for errors. I couldn't find anything so I'm guessing you might have a clue!
EDIT: It seemed I had to have a program that actually used the port for it to work.. It's working anyway, so if you could move it to [SOLVED] I'd be happy
View 1 Replies
ADVERTISEMENT
May 26, 2010
how I can set up something to automatically open port 119 at 10pm and close it again at 3am..
View 9 Replies
View Related
Jun 20, 2010
How can I open a p[ort in slackware? I am "trying" to install and use Alfresco, a DMS that runs on linux platforms. So far that has been a nightmare........
Basically, according to their support tech, port 3306 is blocked. I dont really understand because I have MySQL DB server running and listening to 3306 on that machine and no problems at all... However, they recommended to try:
Code:
telnet localhost 3306
or
Code:
telnet <machinename> 3306
but it resulted in:
Code:
telnet connect to address 127.0.0.1: Connection refused
If I understand correctly , the Alfresco support is correct, 3306 is indeed blocked. But how come mysql is running fine then? How can I unblock this port? And finally, I need to specify that I dont have ANY type of firewall or anything like that because this machine is not connected to the web... So if I dont have a firewall , what is blocking the port?
View 3 Replies
View Related
Aug 27, 2010
I have searched the web for this answer and i can't find it. I'm using Shorewall for my company firewall and all is working well. But i need to tweak down a few problems that i have. Employees have internet connection over a proxy server (http and https traffic), but some do need to connect to other ports not through proxy but directly. I want to add a exception to the rules. For example i want to allow that a local ip can connect to a predefined ip on the net to a specific port. All my attempts have failed.
View 3 Replies
View Related
May 12, 2011
im working on a perl script to automate the setup on a few machines. Does any one know how to open ports using perl?
ps: The systems are redhat so id be editing the iptables file..
View 6 Replies
View Related
Mar 11, 2010
I'm currently using Ubuntu 9.1, and a motherboard which has two Ethernet ports on it.
What I would like to do is bridge these ports, so I can plug in another Ethernet cable and run it to an unmanaged switch in my room (handy for my work laptop when on-call and building other PCs, etc).
I.e. Router --> 8-Port Switch --> My PC.
Eth 0 --> 192.168.1.100 static
Eth 1 --> 5-Port Switch --> DHCP
I believe this is the config to make the ports bridged:
ifconfig Eth0 0.0.0.0
ifconfig Eth1 0.0.0.0
brctl addbr Bridge0
brctl addif Bridge0 Eth0
brctl addif Bridge0 Eth1
ifconfig Bridge0 up
- How do I save this so upon reboot it sticks?
- How do I force Eth0 to remain as a static IP of 192.168.1.100?
View 8 Replies
View Related
Apr 24, 2010
I have a fairly clean install of Debian 5.04 on a G5 tower and am having some local network sharing problems. The machine linuxG5 has an address of 192.168.1.4 and when I am logged into that machine I get the following output
silver@linuxG5:~$ nmap localhost
Starting Nmap 4.62 ( http://nmap.org ) at 2010-04-24 10:19 EDT
Interesting ports on localhost (127.0.0.1):
Not shown: 1706 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
[Code]...
View 2 Replies
View Related
Nov 7, 2009
I have recently bought a IP/PABX system with one FXO and one FXS port. I intend to install this on a remote site with a public but dynamic IP (can be resolved via dyndns though) and make calls via clients that are NATTed (inside a home router). I would like to seek advice on the port opening and the recommended settings. I have been reading a lot on VOIP and I am getting feedback that SIP calls are difficult to establish on a NATTed environment.
1.) SIP port 5060 UDP?
2.) RTP ports - what range should I open for this? I see some use 10000-20000 UDP
3.) STUN server - Is this something that needs to be configured?
How can I ensure that the other party can hear the audio just like a regular telephone? Is it really impossible to do if the client is behind a router in which it is using a Private IP Address? What other network configurations needs to be done?
View 10 Replies
View Related
May 26, 2011
I'd like to set up a fileserver for myself and a few trusted individuals. I'm computer savvy and I use various linux servers frequently for work, but this is my first time trying to setup my own. Is it possible to have a Samba server setup so it is both secure and facing the Internet? Two questions:
Will opening Samba ports make my default Ubuntu server particularly vulnerable to penetration? More than having an SSH server running? Does Samba/ can Samba be configured to encrypt traffic or is it sent plainly? If so, does Windows and Mac support this secure communication?
If not, what would you suggest? I'd like to achieve something like a network drive and at a difficulty level that my parents could use this if they really wanted to. I will be storing things like financial information and tax returns, but no weapons-grade secrets.
View 9 Replies
View Related
Mar 21, 2010
Well basically the title how to setup a static IP in Ubuntu Server?
View 3 Replies
View Related
Dec 28, 2010
World of Warcraft requires that TCP Ports 1119, 1120 and 3724 are forwarded. The Blizzard Downloader requires that TCP ports 3724, 1119, 4000, 6112, 6113 and 6114 are forwarded. It can also benefit from having ports 6881 through 6999 forwarded. The World of Warcraft Voice Chat feature uses UDP Port 3724.
i use the hotspot feature to play warcraft and i am running ubuntu 10.10 ... i need to forward these ports ... any way to easily download an app to configure the phone like you would a router? its probably easy i just cant find it.
View 2 Replies
View Related
Feb 24, 2010
I am running VirtualBox on CentOS 5.4 & am not able to connect the usb ports to the guest operating systems. When I click on the device menu & usb, the devices I have plugged in show up, but are greyed out. I had this problem on Mandriva when I first started using VirtualBox & had to put my user account in the USB group. My account is in the vboxusers group but there is no USB group on CentOS & I can't figure out how to give myself permission to the USB ports.
View 6 Replies
View Related
Feb 13, 2010
how to set up a static IP from Ubuntu... Secondly, on some of the tutorials I read, there was something about changing the DNS server IP adresses. I do know what a DNS server is (Courtesy of www.howstuffworks.com ) but I don't understand why the DNS servers must be changed simply because I chose to use a static IP address.. (My PC connects to the internet via a router.. )
View 7 Replies
View Related
May 17, 2010
I just upgraded to 10.04 and I want to set the static ip address but I can't find where to do it.
View 2 Replies
View Related
Jul 2, 2010
Ok so I got my server running with apache2. I can access it via the web with my static IP.
I registered on Godaddy for a domain, and sucessfully setup URL forwarding. When I type in that domain it takes me to my website, but the browser shows the IP address again. Should I not be using "URL forwarding"? I'm guessing I have to do something on my server side saying what domain it is but I don't know which file to change and I am scared to touch anything. Although I'm a programmer, I'm not a network person.
View 5 Replies
View Related
Sep 23, 2010
If not should I just plug up directly into my modem?
View 2 Replies
View Related
Jan 12, 2011
I set up a static IP address yesterday, following the instructions at the top of this page and since my machine no longer connects to the internet (although all other machines are connecting fine, so I know it's a result of this change).
View 6 Replies
View Related
Jun 29, 2010
I want to lock down my server to allow only certain ip addresses and ports in. I was thinking of doing this through the iptables but someone sugguested I used the hosts.allow and deny files to allow who can access the system. What do people suggest? If I"m trying to ensure no ip's can access my system except the ones I want, how would I do this with just the allow and deny files?
View 4 Replies
View Related
Aug 11, 2010
I've been reading for days now, but can't find an example to the following. I have an ubuntu server, with two KVM virtual machines running ubuntu jeos. I want each VM to have it's own static IP, plus one IP for the server. How on earth I do that? do I need to create two bridges, one for each machine? and if so, how do I assign static IP to each?
View 2 Replies
View Related
Apr 30, 2010
I tried to setting a static ip from dhcp, I changed lines in /etc/rc.d rc.inet1.conf as follow:
# Config information for eth0:
#IPADDR[0]=""
IPADDR[0]="192.168.18.7"
#NETMASK[0]=""
NETMASK[0]="255.255.255.0"
#USE_DHCP[0]="yes"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
and then I run "/etc/rc.d/rc.inet1 restart"
after that, can't access net, and couldn't ping the gateway[192.168.18.1], I have to change it back
View 4 Replies
View Related
May 17, 2010
I recently used this process to connect my Samba network to be able to access and allow Windows XP machines to access my computer on my office network.
For various reasons, all the XP computers on the network are set to fixed (do we say static?) IP addresses with manual DNS. Hence I realised during the Samba setup that I had to set a static IP on my Ubuntu machine similar to my Windows static IP's (ie 192.168.10.?) in order to be able to see the Windows share PC's properly.
Once I set my Ubuntu machine to static IP of 192.168.10.3 with subnet of 255.255.255.0 and gateway of 192.168.0.1 then I was able to access and be accessed by PC's on the network. However I couldn't access the internet after this. I input the DNS server in the edit connections as you can see per the attachment. All these settings (except the IP address obviously) were all now exactly the same as the PC machines, and I thought I'd now be able to access the windows network, as well as have access to the internet, however, even though my wired network is connected there is still no internet access.
I'm using the GUI under network connections to make all these changes if that is important. I can't understand why this doesn't work?
View 6 Replies
View Related
Dec 29, 2010
I have installed Debian on my computer but am having trouble setting up my wireless Internet. Under my network settings there's only one connection: Ethernet. how to create a new (wireless) connection.
Another thing is that I can't seem to open .deb files. The archive manager says that it's not supported. But I can't seem to find the dselect to open those files either.
One more question: how can I enter commands through the promp(t)? I've read all over the Internet that I can enter in commands, but I haven't found where or how.
View 1 Replies
View Related
Feb 16, 2011
I have a linux system which is conencted to a corporate lan and it has internet access to it. But i don think that machine hs any static ip or DNS name. I am able to ssh to that machine within the lan but is it possible to ssh to that machine outside the lan using internet?
View 3 Replies
View Related
Oct 19, 2010
I have an old pc that I would like to use as a headless server for my music, files, etc that I can access at work and other places outside of my network. I'm a complete noob in this department so please excuse my overwhelming ignorance. The only thing I've managed to succeed at was installing fedora 13. Two things in particular are giving me trouble: 1.)setting up my router and fedora box so that it has a static ip address and 2.)connecting to the fedora box via vncviewer on my laptop.
HERE ARE SOME QUICK SPECS THE DEVICES INVOVLED:
Fedora Box: Intel Pentium 4 2.66GHz, 1GB ram, Fedora 13
Laptop: Toshiba Satellite A505, Intel Core 2 Duo T6600 2.20GHz, 4GB ram, Windows 7 Home Premium 64-bit
Router: D-Link WBR-1310
ISP: Comcast (cable)
HERE'S WHAT I'VE DONE SO FAR:
Setting Static IP
On the fedora 13 box:
1.)Went to Network Connections and added a new connection
2.)Copied mac address from the default connection
3.)On IPv4 tab, added new address: 192.168.0.200 (this is out of the range which my router will assign automatically) netmask 255.255.255.0, set gateway to 198.168.0.1(router's ip on the network)
When I connect to this new connection web pages don't load, etc. but when I'm on the default connection I have no problems.
Connecting With Vnc Viewer
On the fedora 13 box:
1.)System -> Preferences -> Remote Desktop
2.)Under Sharing I checked "Allow other users to view your desktop" and "Allow other users to control your desktop"
3.)Under Security I unchecked "Ask you for confirmation", checked "Require the user to enter this password", and specified a password
On the router
1.)Set up port forwarding for port 5900, TCP only, to the ip address of the fedora box.
On the laptop
1.)Installed VNCViewer
2.)Went to whatsmyip(dot)org to get ip address of router
3.)Tried to connect to that address, port 5900 (ex. ##.##.##.###::5900)
4.)Connection times out everytime.
View 5 Replies
View Related
Feb 18, 2010
how I can define a local static IP address (so that I can run a web server off of the same IP, rather than letting my router DHCP it)?I've tried doing the YaST->Network Devices->Network Settings->Traditional Method with ifup->Set NIC to desired IP->Set Default Gateway to router address method, and afterwards I can't even get into my router anymore (not even responding to ping).
View 8 Replies
View Related
Apr 3, 2010
I'm maintaining a very modest network at home, with OpenSUSE as OS on the server. I got the DHCP and routing working by following the instructions in the wiki. However, every time I run dhclient on the server/router, it appears my own DHCP server assigns an address to the internal network card despite the fact I specifically assigned it to be static using Yast. The situation resolves itself when I restart the network services with the command /etc/init.d/network restart. Otherwise no problem, but it also seems the internal network card gets a "new" IP from my server every time the external card requests one from the ISP. This is more of an issue.
View 5 Replies
View Related
Oct 22, 2010
setting up my ubuntu server I would also like to run ubuntu desktop for the GUI.
setting up the static ip address with a 2wire gateway from att.
View 4 Replies
View Related
Jan 2, 2011
My DHCP setting is disabled in fedora 12 . Previously i was using static IP address. I Want DHCP setting enable, any idea.
View 1 Replies
View Related
Aug 18, 2010
I set up a dhcp server in the lan and assigned static ips to two computers, computer A and B, according to their mac address. Everything was running fine. But when I turned off computer A, connected computer C to the network, and assigned computer A's static ip to computer C without changing dhcp setting. Computer C was able to access the internet. When I turned on computer A, dhcp couldn't assign an ip address to it, and computer C showed an error message of ip conflict and failed to use internet. I wonder if dhcp server is able to prevent other computer from using the same static ip that is already assigned to a computer according to its mac address.
View 5 Replies
View Related
Dec 17, 2010
I'm writting an app for desktop and embedded linux and I need to get information about the multiserial port, and I need to know which port is been used (by a printer, por example).The multiserial I'm using is an Altera Corporation Device 0004, and I just need to tell how many ports are there and how many is been used.
View 3 Replies
View Related