Ubuntu Servers :: Setting Up Ufw For A Website - Disallow Everything Except Ssh / Email?
Jul 29, 2011
[URL] I want to
Code:
sudo ufw default deny
and then
Code:
sudo ufw allow ssh
sudo ufw allow smtp
sudo ufw allow www
[code]....
to allow the services I need, am I missing anything ? I assume allowing ssh will also allow scp ? (heck I will allow sftp as well anyway).However my problem is I am connecting remotely, so the only way I can do what I want is to actually do a
Code:
sudo ufw default allow
then use a list of the services provided by
Code:
less /etc/services
and deny each service individually? This seems a pain as if I turn on the firewall with default deny it will boot me out of my ssh connection?
View 1 Replies
ADVERTISEMENT
May 31, 2011
I know a guy who has a website setup where he can download files from Megaupload with his premium account without signing in. He takes the MU link's ID, eg: URL... adds it to the end of the URL (URL...) and it downloads using the premium account logged in on the computer he has his site hosted on. We don't get along well and I would rather not ask him how he does it.
How would I set this up on my own computer? I can see this being extremely useful for me if I need to download some of my artwork or projects from MU but I don't want to sign in because I'm on a public computer or something. I already have everything installed on my computer to host a site. I have a simple "Hello World" page running on my webserver right now. I don't need help getting that part set up, just the rest of it.
View 1 Replies
View Related
Jun 4, 2011
The original thread was closed because "Sounds as if you are trying to steal a service which you have not paid for. We do not support that kind of activity here on Ubuntu Forums." However, it's not stealing since I am only going to use this with accounts that I have legitimately paid for.This might not be the right place to post this... if that's the case, I apologize - please move it to the correct location.I know a guy who has a website setup where he can download files from Megaupload with his premium account without signing in. He takes the MU link's ID, eg: http://www.megaupload.com/?d=xxxxxxxxand adds it to the end of the URL (http://192.168.1.199/mu/?d=xxxxxxxx) and it downloads using his premium account logged in on the computer he has his site hosted on. We don't get along well and I would rather not ask him how he does it.
How would I set this up on my own computer to use my premium account? I can see this being extremely useful for me if I need to download some of my artwork or projects from MU but I don't want to sign in because I'm on a public computer or something or because the computer has MU blocked. I want this to be a private site that only I have access to since it's my premium account and my money. I am not asking how to circumvent megauploads download limit at all (I've already paid for it... no need to circumvent it).
I just need a nudge in the right direction. Thanks in advance for any help you can provide.I already have everything installed on my computer to host a site. I have a simple "Hello World" page running on my webserver right now. I don't need help getting that part set up, just the rest of it. I assume this has something to do with setting up a proxy server - I just don't know how to do that and make it work like I need it to.
View 3 Replies
View Related
Oct 5, 2010
I recently bought my own domain name and have started working on my website. I am way excited about setting this site up. My question is, what would be the best way to setup an email system where users are able to login and check their email...I guess like, a web-based system? Then they can configure a client if they wish with their email address.
View 6 Replies
View Related
Sep 4, 2009
I will be getting an old and decrepit laptop (the PS2 channel went out). I have decided that I would like to set it up to be an email and minor data server. The only problem exists that I have never setup a server, yet alone a linux server before.
I want the server to allow user authenticated access to a certain folder on the machine where other clients can go and copy and paste files for the data server portions and I want it to download emails from multiple domains (Gmail, a Microsoft Exchange Server, and from a private domain) and then allow other clients to log in and download those messages (I would like to keep each domain's emails separate so the client has to specify which domain's emails to download).
View 2 Replies
View Related
Feb 27, 2011
I'm hoping its the right place to ask the question: I have Fedora 8 server acting as a web server. It is a VM hosted at Amazon. I'm trying to use their SES service and using their ses-send-email.pl file to send a mail.I'm getting the following error: "Can't locate Digest/SHA.pm in @INC" I tried installing the Digest-SHA module but I'm not sure how to do it. All manuals and how-to's I found looks like they are intend for development servers not production (meaning I found myself installing alot of packages not sure they are all necessary). What should I install (and how) in order to make it work?
View 1 Replies
View Related
Jun 9, 2011
Does anyone know how to go about setting up a secure IMAP email server that is able to be accessed from outside the network? Similar to how you can access your google email account from your computer using Thunderbird.
View 3 Replies
View Related
Dec 31, 2009
I have an email setup where all of the emails from our email host is downloaded to our Linux server using Fetchmail. Then some of the incoming emails are sent to an MS exchange server (server1.domain.com) using Postfix. What i want to do is to send a copy of all emails to Another server (server2.domain.com) for redundancy.Can postfix be configured to send copies out to both?
View 1 Replies
View Related
Dec 21, 2009
I have recently setup a new mail server and have simulated sending and receiving on the new email server. The new email server will replace the primary one.I would like to setup the new email server in parallel with the existing one.This way i can observe issues that might occur and be aware of what could go wrong. I want to received mail to be delivered to both mail servers at the same time.I would like to use postfix, exim i find a bit to difficult to understand.I have thought of using transport maps, the only problem is that you can only forward mail to one server at a time using transport maps.I think recipient_bcc_maps and sender_bcc_maps could work, i would just like ideas of how i can do this.
View 5 Replies
View Related
Mar 16, 2010
I have several web servers, say myserver1, myserver2, and myserver3, behind a firewall that the higher-ups run. They recently changed the firewall to block all ports except for the ones they want open. I have www.myserver1.com viewable to the outside world, but www.myserver2.com is not viewable to the outside world. I was wondering if there is a way to set things up so that people could go to [URL] and view the [URL] and [URL] website content.
myserver1 is running Solaris 7, which will (hopefully) be upgraded to Ubuntu 10.04. myServer2 is running Ubuntu 8.04. myserver3 is running Windows XP. I was wonder if this is possible with any OS, not just mine.
View 2 Replies
View Related
Aug 24, 2011
Does anyone have a good how to or a good website on setting up Fedora 14 with ldap ?
View 2 Replies
View Related
Mar 29, 2010
I am thinking about buying a domain name and hosting my web server.
I have seen pricing from $8 to $30 a year. Any favorites from fellow ubunters? Also this whole "whois" thing scares me, if I am correct my information I enter when buying the domain is enter into some big pool of information. People can find this information out and dig up important information. url Can I prevent this with private Whois or how do I set it up? This website examples some of my fears with this whole WhoIs thing, url whois/Private-Whois.html Does most/all domain registers come with email or just email forwarding or both? How does that work? At this moment, my only question about Web Hosting is how do I get Website Statistics as in: Stats, web analytics, web traffic stats and more? I will be web hosting through Ubuntu 9.10 gnome.
View 9 Replies
View Related
Aug 4, 2009
I am trying to install a router on my CentOS 5 box, while i have properly configured IP address, Subnet, Default GW and DNS, I am at the point of trying to set up the Proxy. I have added a line: "proxy=http:ip_address:8080/" to the file of "/etc/yum.conf" The Proxy server here does not require any username nor password however I still cannot ping any website, while I tried to ping 74.125.45.100 (google.com) it returns the following message:
[Code]....
View 1 Replies
View Related
Feb 16, 2010
I have recently installed Ubuntu 9.10 on laptop behind XP and Win7. No problems at all so far. Even got wireless to work (awesomeness). But trying to set up the email program it continues to say there's a problem. I'm trying to use Hotmail. And the way the email wizard? is set up it's a little off for me. I'm not too experienced with Ubuntu, or Linux for that matter. Mainly a Microsoft OS user. give me the info on setting up the email client to work with Hotmail?
View 4 Replies
View Related
May 21, 2010
I have had a search for this problem, but have not found a match: undoubtedly it is so straightforward that no-one has needed to ask it before: I have two accounts in Evolution, work and gmail. I would like my work email (which I check via IMAP) to be copied locally as it comes in so that I can file it properly, but also kept on the server so that I can access through my laptop.
I have set a message filter which does the following:
Code:
IF
status is not read
THEN
set status read
copy to folder Inbox
Stop processing
The filter works (if I apply manually then it goes) AND I have set the preferences to apply filters automatically, but no joy when a new email arrives.
View 4 Replies
View Related
Jan 4, 2011
I would like to be able to have email sent directly to my computer at home (i.e. run some kind of mail server on it) instead of having to rely on Gmail, Yahoo or someone else. From what I've read it should be possible, but most of the guides out there seem to be oriented to enterprise-class setups, or at the very least a small business, and I think that a lot of that would be overkill for just getting my personal mail. The minimum *I think* is
- register a domain name, with the DNS pointing to my public IP (which is dynamic, so one question I have is whether I would have to use DynDNS or is DNS at any registrar going to be flexible enough to modify if/when my IP changes?)- something about MX records (I'm really unsure here, what exactly are these and where do I set them up? I don't think a free DynDNS account lets one handle this, does someone know which of their account types supports setting this up?)
- Install sendmail and postfix (which seems like a PITA, but much documentation appears to be available)
- Profit?
View 2 Replies
View Related
Jan 13, 2011
I'm trying to setup a couple POP accounts in CentOS. I started doing a tutorial that had me install dovecot, and now I have dovecot running but I can't connect at all.Does anyone know of a simple way to get email up and running? It seems like it should be easier than the 14 step tutorials I was finding on Google.Also, should I leave dovecot or try and remove it?
View 6 Replies
View Related
Apr 17, 2010
I am in the process of setting up and e-mail system for my small business. In the past I have always had my ISP and my domain registrar handle the e-mail and just POP the e-mail to a ciient such as thunderbird. Now I have decided in order to better learn postfix or sendmail, I want to setup my own and administer it. My question is:
1 - Once I have my domain name for my company is the e-mail accounts just created via psotfix or sendmail or are the accounts created via my domain registrar like my domain name? For Example: my domain name is test.com and I wanted president@test.com.
2 - Are e-mail servers setup in a DMZ as realys and then forwarded to an internal e-mail server and them transmitted to the clients or are they normally just put inside the LAN?
View 3 Replies
View Related
Dec 1, 2009
I have setup mail server on Ubuntu 9.10 and it's is working fine.I am using Webmin to addministrate my mail server.My Ubuntu server name abcs.I send a test mail from Wedmin for user gom.Why it keep adding InfoNet. What I would like is setup as gom@abcs.com.
View 1 Replies
View Related
Feb 11, 2010
I'd like to set up a shell script that will send various emails at regular intervals through gmail. I'm sure that there is some sort of text-based email client out there, but I'd like to do this with cron or anacron. I know a little bit of shell scripting but am definitely not great at it.
View 2 Replies
View Related
Nov 27, 2009
I'm confused about the sendmail/ssl combination. so confused, i'm not even sure what i'm confused about :) I want to have email sent from our server to the rest of the world in a 'secure' manner. Just dl'ed and installed CentOS5.4: Linux rh5 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:03:03 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux the /etc/mail/sendmail.mc has the instructions
[Code]...
View 2 Replies
View Related
Feb 19, 2010
I am trying to figure out how if it is even possible to set up my centos server to email messages to gmail account I have tried mail -S Test account@gmail.com but every time it say in my log files that Connection refused by [127.0.0.1]
View 1 Replies
View Related
Feb 12, 2010
I am running ubuntu server in a virtual environment (vmware) and have setup apache and got mediawiki up and running which I can access on host machine by going to 172.16.170.130. But this is only available on my host machine and not elsewhere on the network. How do I make it available to others on LAN and eventually on the internet (associated with my host IP address?)
View 3 Replies
View Related
Nov 2, 2010
I'm trying to run ssh commands though PHP on my website. I found this tutorial for it: [URL] I've got a few problems here, when I do "apt-get install openssl-dev" I get this output:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package openssl-dev
[Code].....
View 7 Replies
View Related
Jun 15, 2011
My ISP provided me with a static IP and I went and bought a domain name with godaddy.com. The issue I'm having now is that I am getting a 403 forbidden error (You don't have permission to access / on this server). The strange part is that when I ssh into my server, and try to go to my website, everything works fine
View 5 Replies
View Related
Jul 30, 2011
I was with hostgator before that provided cPanel and i "believe" they used CentOS.Now that i have moved to a different host, unmanaged, i installed copy of ubuntu 10.04 LTS 32 bit.the website is www.terwax.com.I have to put files under /var/www. So i put all the files there, including index.html (a file of joomla), but if you see the website yourself, it shows up blank page with some weird stuf
View 9 Replies
View Related
Jan 4, 2010
I'd like to install an IRC server on my website (it's hosted on another server location).I can log into the server side of things but am not sure how much control I have of installing applications. I'd like an IRC that's easy to install and easy to set-up. I logged into the cPanel page of the site and found this "general server information":
Operating system: Linux
Kernel version: 2.6.9-78.0.22.EL
Machine type: i686
Apache version: 1.3.41 (Unix)
[code]....
Unfortunately there's not an IRCd/server type of application available on the "Fantistico Deluxe" application installer feature.
View 9 Replies
View Related
Feb 14, 2010
I am using apache web server for my website. I have the main page up and I want to create another page. For example, I want to have "thisiswhatiwant" being the page I want to add
View 1 Replies
View Related
Feb 25, 2010
So I gave up on the mail server Idea as that was too much of a headache.
So I was wondering as I have registered waloshin.com with godaddy.com how can I get an apache hosted website to appear on that domain from my server?
Do I have to configure BIND9 to do so?
While going to http://whatismyipaddress.com/ it does say that my ip address is static: Assignment:Static IP
View 9 Replies
View Related
Mar 27, 2010
I am hosting some websites and i want to monitor who is using more resources from a thoughput standpoint... Would this be bandwidth monitoring. can use to monitor these sites. I am using an uptodate version of apache2 and a single ip vhost setup.
View 9 Replies
View Related