how to forward a user to a Microsoft IIS server under the SAME domain name (e.g. www.MySite.com) depending upon url parameter. My goal is to do this without using a subdomain (e.g. events.MySite.com). The diagram below depicts my goal. I want my linux server to decide whether to forward the user to an IIS server or serve them content from apache based on the url (e.g. www.MySite.com/Events).
We have MS Exchange email server with postfix/amavis on FreeBSD as proxy for anti-spam and anti-virus. We use our own developed CRM and trying to implement such functionality that when CRM manager send email to CRM client or vice versa through email client like Outlook (no plugins for CRM) this message would be shown in CRM. There is already a solution to parse emails from specific emailbox and show it in CRM.
What I need is to create postfix email filter to check if sender email is in file CRM_managers_emails and recipient email is in file CRM_clients_emails then forward that email to [URL] Filter should check both incoming and outgoing messages. I will auto generate CRM_managers_emails and CRM_clients_email files containing all such emails taken from CRM database. I know i should use something like Postfix After-Queue Content Filter but most of examples are for blocking emails.
i have configured sendmail server in my lan and it is working fine for me.but there is one little problem for me. i want mails send sunita should be received by vinita.sunita and vinita both are normal users on same pc.
for this i made entry in Code: /etc/aliases sunita: vinita
I wish to intercept/forward emails that is sent to one user on multi user mail server.I only want email from one specific address or group,to be redirected and it will be redirected to another user on same server.The email should not arrive in original users inbox.".forward" file can not give me such solution,because ".forward" file will forward all mails to another specific mail id,which i don't want. I want only specific users mails onto another local user.Is this possible in sendmail?Anybody have clear idea of "virtusetable" & "aliases" file?
So if I get their public key for ssh how do I add and then how do I delete it my problem is in .ssh/authorized_keys file I do not understand how to add and how to delete the key so that I can enable and disable root login this way.I am not sure as how do I comment the key assuming that the person sends me his public key then in .ssh/authorized_keysfile how do I add so that a comment can also be added so that I can identify that person as a legitimate user.
I have configured squid proxy on centos 5.5 and some of my squid.conf file has following lines
http_access allow ncsa_users office
There are 3 users called "user034, user035 and user050" in the /etc/squid/squid_passwd file need to restricted access to internet except sites www.abc.com form anywhere in the lan. Once they logged in any ip, rule should apply.(that means no ip related acl, only user name related) How can I configure this in squid.
Having trouble visualising how IP-Based Virtual Host (with SSL) would work. Here is my vhosts.conf file:
Code: #Define Name Virtal Host NameVirtualHost 10.10.0.54:80 #Used to replace the main server host. The log file will reside in /var/log/httpd/error_log
How will it work? I will need to forward port 443 to the 10.10.0.55 interface right? Without doing that, there is no way this is going to work... is there? And that means that I can't run more than 1 ip-based SSL virtual host on one machine because I can't forward 443 to two different interfaces.
Also, do I use internal ip address or external ip address in the <VirtualHost > tag? I only have one static public ip.
easier way to forward email, in postfix, from a user to one domain for the user without listing every domain and user name? Example:send all of user joe's email to joe@somewhere, in which there are mulitple domains other than "somewhere".
Usual Given Example- /etc/postfix/virtual: email@example.com joe@somewhere firstname.lastname@example.org jane@somewhere-else
I'm looking for an easier way to forward email, verses having (ex) 50 different lines for 5 users and 10 domains.
I am new to Ubuntu and am attempting to do a clean install on my second pc. I'm semi computer illiterate, and I am stuck on the Who are you? page. It appears that I have all the fields filled in correctly, with checks next to them all and "Fair password" displayed. I have Log in automatically checked, and I have require my password to log in as well as encrypt my home folder unchecked. I was wondering if there had been problems with this or is there something that I am doing wrong with my installation? The forward button is not clickable for some reason
want key based so i dont have to put in the password of user or passphraseI have edited the ssh_configfrom #Protocol 2, 1 to Protocol 2 with out the #I have edited the sshd_configPermitRootLogin yes to PermitRootLogin no#PasswordAuthentication no to PasswordAuthentication noi have the same file changes on the other 2 computers. I have 3 computer all together 1 xbuntu and the other 2 are ubuntu. All have the authorized_keys with chmod 400 persmissons id_dsa.pub and known_host fileone has id_dsa and it will not talk to the other computer either
aceraspire@momacer:~$ ls -l .ssh total 16 -r-------- 1 aceraspire aceraspire 605 2010-03-25 11:21 authorized_keys
One may argue that Debian is going mainstream being officially supported by Linux Mint. The chances are high that many users may change from the Ubuntu to the Debian base. By now especially Ubuntu's PPA has grown to a huge respository offering almost anything an user would need. But how does that look like in a Debian world?
There are several approaches to establish a "Debian PPA", amongst them debppa, but there activity is low not to say that they are almost inactive and orphaned. As coming from an Archlinux and Ubuntu perspective I do not know the Debian perspectives enough to reason this but am still curious to know about your motives not establishing a userbased repository.
I currently doing a network emulator program and the features must includes the web-based interface for user configuration. I able to run my program through command line. But I would like to ask how to associate my program to web-based interface for user configuration?
I'm trying to forward VNC requests from server a to server b, acctually I need the server a to be just VNC proxy and other servers behind server a can be responsible for VNC requests.I did it with this iptables rule but it didn't workAnd for notification all VNC sessions of mine are in range of 59100 to 59199
I have setup SFTP and it is running without any problems. The problem I have is finding a client that supports key based logins through Linux. I do not want user based logins available and so far the solution works through my Windows machines using WinSCP. The only client I have found for Linux seems to be FileZilla but I have to convert my private key to the FileZilla format which removes the passphrase leaving it nice and insecure.
I'm trying to call a specific variable based on a user selection. For example:
Code: Select a file:
 foo.tar  bar.tar
Enter a selection: I have already coded each possible selection to have its own variable. If the user selects 2 I need to select $SELECTED_TAR2, or if they select 1 I need to select $SELECTED_TAR1 and then do something like this behind the scenes:
my server runs fedora 12 i686 LXDE and has an 80 gig hd.on ftp i have a high volume of files that do not fit on the 80 gig hd, however if i could somehow connect to a lan fileserver on the lan and make it accessible through the server, all my problem would be solved. how do i do this?the reason i dont attach more HD's to the server is that all my hard drives are sata and the server doesnt support this
So here is my issue in a nutshell. I need to take FTP requests that hit Server_A and forward them to Server_B. Server_B is not natted...Server_B is another public server in a completely different location in the world. One thing to note is that I only have one NIC hence why you will see both in and out being eth0. This is what I have in my iptables on SERVER_A:iptables -A FORWARD -p tcp -i eth0 --sport 21 -o eth0 -d SERVER_B --dport 21 -m state --state NEW -j ACCEPTiptables -A FORWARD -p tcp -i eth0 --sport 20 -o eth0 -d SERVER_B --dport 20 -m state --state NEW -j ACCEPTI've also tried both of the above without the --sport option. When I FTP to SERVER_A (where the above iptables rule are) it connects to SERVER_A instead of forwarding them to SERVER_B.
my company is a small company!and it only have one public ip,but my company have a lot of websites to access!now i use Reverse Proxy Server -- apahce to solve temporary!it is not convenience for me !So i think out whether iptables can not be used to forward according to the domain!!it is the test as follows:
public ip :10.0.0.1 privite ip1 :192.168.1.1 matching website domain:www1.test.com privite ip2:192.168.1.2 matching website domain:www2.test.com
and if someone access [URL] the iptables will know they want to access 192.168.1.1 and it will forward to the server 192.168.1.1!!
I have a server on my router on the DMZ. All outside traffic goes to it. This server has Apache running and the domain mysite.com resolves to the the DMZ web server. I have a second server on the LAN that also has apache running. I want to set up another domain, myothersite.com to resolve to the second server on the LAN. Since the main server is on DMZ I have the DNS A records for myothersite.com pointing to the public IP that the DMZ is on.
How do I get myothersite.com to resolve to the second webserver on the LAN? What configuration do I need to do on my DMZ server so it routes traffic for myothersite.com to the other server on teh LAN? Do I use BIND DNS? If so please advise on how to set that up. BIND DNS seems confusing and I having trouble knowing how to configuring it. Is there another option besides BIND?
Just setup an ssh server...kinda. I need to forward the port (22) through my router. I have forwarded ports before for programs so the whole thing isnt a mystery. But i need to know what to put in for a couple boxes.... Private ip: ? protocol type: tcp, udp, or both?
I am looking forward for a pdf documentation to hylafax server .. I went to the website documentation it doesn't contain the accurate command line .. Does any one have an idea where to get a better documentation or other fax server solutions?
I have a pop server OS RHEL 5.3 64 bit it's uses fetchmail for downloading our users mails and relay it to our exchange server. Now my question is I have some deferred mails in rhel pop server mailq and I want to forward those deferred mails on my admin email id
im unable to forward a mail with attachment my problem is as below cat /root/data|mail -s "subject" [URL] its not forwarding mail and not throwing any error my attached file is more than 100MB ,will any one me with correct syntax how much length of file can be attached maximum i also tried like this mail -s "subject" [URL] < /root/data its also not working
I've a webserver at 10.10.0.55. Above in the hierarchy are managed network cisco switch / router and ASA firewall (the usual stuff). I also have a mail server at 10.10.0.200. I was told by the network admin that he can't forward port 80 to webserver and port 25 to mail server. Basically he said that it's a one-to-one (external.ip-to-internal.ip) mapping and all traffic, no matter what port it's destined for must go to 10.10.0.55. So, I turn to the wonder that linux is. The webserver is running Centos 5.4. Currently, all packets on port 25 are coming to the webserver. I want to forward all these packets to the email server. Note: the webserver only has one interface: eth0. I turned to web for help and did this in iptables:
First of all, since there is no service/daemon listening on port 25 on the webserver, is it even going to work? Isn't the webserver simply going to discard packets on port 25? I am assuming that packets go through the iptables first, and so iptables should route the packets to the email server, where there is postfix listening on port 25. Am i right? Also, as you can see in the code above, all packets coming on port 25 on the webserver should be logged. But they aren't. In order to troubleshoot, I'd like to at least know that packets are coming into the iptables. But since it's not logging, I can't find out what's wrong.