Server :: Redirect All Traffic To A Dynamic IP?

Oct 7, 2010

I was wondering what the best way of redirecting all traffic, not just http traffic, from my hosted web server on hostmonster (with a domain name) to my home server.... I wondered if it would be possible to do it with a simple script running on the hosted web server?? Also is there a way of getting round having all the ports open on the hosted web server that I want to use on my home server??

View 2 Replies


ADVERTISEMENT

Server :: Apache Redirect Dynamic Url

Jul 6, 2010

I wish to redirect http://spam.com/index.php?spam=cool to [url]

I've tried the following in .htaccess:

Code:

How doesn't this work?

View 7 Replies View Related

Server :: Dynamic URL Rewrite And Redirect In Nginx?

May 20, 2010

how could i rewrite and redirect

Quote:

[URL]

to

Quote:

[URL]

domain from forum. to club. (red color part) url rewrite, blue color part is variable

View 3 Replies View Related

Server :: Redirect VPS Domain / Static IP To Dynamic Dial-Up IP?

Oct 16, 2010

got a VPS and for testing purposes a homeserver with apache running. what two tools would i need to redirect my static ip to my dynamic one?

the traffic shall all go through the dynamic one. i've got a domain name registered with the VPS also. nameservers are configured.

is there any setup required on my local (dynamic ip) apache settings for using the name? and if i stop the service, will it still work? do i have to setup a webserver on the VPS for it? none running yet.

View 2 Replies View Related

CentOS 5 Server :: Gateway Server To Redirect Traffic For Http/smpt/pop3

Apr 6, 2010

I have been beating my head for the last few weeks on this problem, (although I have been taking the wrong approach, it seems).

I need a gateway to direct web traffic to three separate servers/domains. I have been trying to do this with both a dns server and , (seperatly), apache server to forward requests. The dns server was a no go, and <i can only get apache to redirect http and ftp.

After Googling this ALOT, I believe that what I need is a gateway server to redirect my traffic to the 3 different servers. I have been reading about using using nat and iptables for this and was wondering if anyone had any advice/suggestions on this. The other thought I had was to use something like pfSense to create the gateway, but I am still reading the documentation, and I am unsure if this approach will work.

View 1 Replies View Related

Ubuntu Installation :: Redirect Internet Network Traffic Through Server?

Sep 30, 2010

I tried to setup a home server that will redirect the internet traffic through the server before it reach the client. Because i don't want to install anti virus on every machine, it will slow them down a lot. There are some anti virus for ubuntu. Most of my home machines are running windows, which is a pain with virus.

p/s: I'm running 1 ubuntu server 10.04 and the rest are windows 7 machines.

View 9 Replies View Related

General :: Redirect Incoming Traffic To An Other Port (ubuntu Openvpn Server)?

Dec 5, 2010

I have set up an openvpn server on ubuntu via port tcp 443. The server use a public network and almost every ports are blocked (not 443) So when a client connect to the server, if it send traffic needing a blocked port, the connection cannot been etablished of course. So i d like to know if it is possible to redirect all incoming traffic on the server to an other unblocked port (like 443) to bypass firewall.

I dont think openvpn offer this possibility but maybe with linux it is possible..

View 3 Replies View Related

Server :: PPTP Traffic - Gre Traffic Is Being Generated During The Browsing / Reduce Traffic

Sep 27, 2009

Recently I notice that when I'm connected to an vpn server (pptpd) and I'm using it as a default gateway my download and upload speed decreases almost to the half of the usual speed. I made a test using iptables in order to count how much GRE packets are generated (except the real traffic itself) in that way:

Code:
iptables -I INPUT -p gre -j ACCEPT
iptables -I OUTPUT -p gre -j ACCEPT

iptables -I FORWARD -s 172.16.10.101 -j ACCEPT
iptables -I FORWARD -d 172.16.10.101 -j ACCEPT
The first 2 rules match all GRE packets between the pptpd server and client, and the next rules - the traffic between the server and the client.

When I turn the counters to zero and begin to generate traffic (to browse, to download etc.) I see that the GRE packets are even more than these in the FORWARD chain.

So, my question is first of all is my test correct and is it true that so much gre traffic is being generated during the browsing (it becames clear that the traffic is double than if the pptpd wasn't used as a gateway) and if yes - can that traffic be reduced?

View 3 Replies View Related

Networking :: Ip / Port - Redirect All Traffic

Feb 2, 2010

I have "Server A" with real internet ip 1.2.3.4 (eth0) and lan ip 192.168.1.1 (eth1) There's also "Server B" with lan ip 192.168.1.2 (eth0), I'm running an Apache Web server on "Server B", so I want to redirect all traffic from IP 1.2.3.4 port 80 (Server A) to 192.168.1.2 port 80 (Server B), using the following rule:

[Code]....

iptables -t nat -A PREROUTING -p tcp -d 1.2.3.4 --dport 80 -j DNAT --to 192.168.1.2:80 This actually works pretty good, from internet I can browse ttp://1.2.3.4 But the problem is that if I check the Apache logs, all incoming connections seems to come from 192.168.1.1 instead of showing the real source ip addresses (internet ip's) so this is screwing up all my web stats, I've been looking for hours and hours on how to make a transparent redirect, but can't find any info, I know there must be a way because my old WRT54G router which uses iptables could do it.

View 12 Replies View Related

Ubuntu Networking :: Redirect Traffic To Free Vpn PacketiX?

Feb 17, 2010

I was trying to find some free VPN service for access restricted pages. I found some working programs for win XP, but nothing works under Linux (TOR was too slow and now it is blocked). I was using program PacketiX under win, and it has also Linux version without GUI, but i was not able to make it work, because I dont know, how can I make firefox to connect through the VPN service.

I downloaded the client here [URL]

I was able to make it work with this guide [URL]

But i dont know, how to adjust routing table so I can connect to the internet through the VPN service.

ifconfig

Code:
ath0 Link encap:Ethernet HWaddr 00:05:4e:4d:c5:5f
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1

[Code].....

View 1 Replies View Related

Software :: Using Squid/Iptables To Redirect Inbound Web Traffic To Url/IP

Jan 13, 2010

We host a web server in which we are hoping to implement some form of traffic redirection based on source IP address, and I am wondering whether the squid proxy built on iptables would be capable of managing this task? Essentially we are trying to redirect traffic from specific set of source IP ranges to a "Your IP has been restricted" type of page at a different IP/FQDN.

View 2 Replies View Related

CentOS 5 Networking :: Redirect All The Traffic To An Ethernet Interface

Sep 12, 2011

Currently I have a server which runs under centOS 5.6. It is dedicated to the VoIP application of my customer.I have a problem for which I have the solution but I didn't managed to achieve it.So, let me explain you the context.Here is the networking aspects of my environment

VoIP Provider_____Gateway_____________My server
ADSL Provider____(non pingable)
x.x.x.2 <====> A.A.A.1 <======> A.A.A.3

[code]....

View 2 Replies View Related

Ubuntu Security :: Iptables To Redirect Traffic Back To Its Source

May 3, 2011

I'm currently using a homemade Python script to parse script kiddie IP addresses from logfiles.To this point, I've simply been DROPping any requests from these IPs using iptables.I thought it might be fun to redirect their traffic back to them, but as I am not an expert at iptables, I was wondering if I should use FORWARD or PREROUTING.

View 7 Replies View Related

Ubuntu Security :: Redirect All IP Tables Rule To Forward UDP Traffic?

May 16, 2011

How do I redirect all the UDP traffic on port 27016 of my current dedicated server to a new IP port 27015 using IP tables?

View 1 Replies View Related

Ubuntu Networking :: Redirect Network Traffic To A New IP Address Using IPtables?

Jun 19, 2011

how to redirect network traffic to a new IP address using IPtables. I am using Baffalo router and the rtos used is DD-WRT. Basically, I want it so that any connection going through my router to a specific IP (say, 192.168.11.5) will be redirected to another IP (say, 192.168.11.7) so any outgoing connections made by a program that is attempting to connect to192.168.11.5 will instead connect to 192.168.11.7.

View 2 Replies View Related

Ubuntu Networking :: Redirect All Http/https/ftp Traffic Through The Remote Proxy?

Apr 6, 2011

I need to redirect all http/https/ftp traffic through the remote proxy, but when I changes connection settings in browser or in System->Preferences->Network Proxy it doesn't work well: instead of getting page content browser asks for saving some short (8 bytes) file with the same content for all requested pages. It happens in Chrome/Opera/Firefox. This proxy requires authorization and works on computer with Windos XP. It worked well when I was using Windows 7 and Proxifier, now I have Ubuntu 9.10 with all available updates.

View 3 Replies View Related

Networking :: Easiest Way To Redirect External Traffic To VMWare Web Host On Same Machine?

Jul 14, 2009

Have done a bit of Googling around this but got totally swamped so will try here. Basically we are running a CentOS server which hosts a number of virtual hosts under Apache. Recently I needed to set up a development environment for another site using Ubuntu and have this running and accessible on the LAN from a VMWare image. I'm using bridged networking so the VMWare machine has its own IP on the LAN subnet.

I've set up a DNS to point to the external IP of the physical host but can't figure out how to route traffic requested on this domain to the VMWare host. I've basically tried two approaches (configuring a proxy web server and reverse proxy in an httpd.conf file and mucking around with iptables forwarding rules but without success.

Ideally I'd like somesite.somewhere.com to point to the VMWare IP but I could live with a custom port on the end if thats whats required.

To throw further complication into the mix I need reliable communication between the VMWare machine and external mail relay servers in order to debug any issues with mail bouncebacks, embargos etc.

Any idea what's the easiest way to accomplish this?

View 4 Replies View Related

Networking :: Server To Block All Traffic But US Only Traffic?

Mar 15, 2011

I wanted to tell my server to block all traffic but US only traffic. So i followed this guide:[URL].. Now I know, it's the best way to help prevent hackers/crackers (doesn't matter to me what they are called. I just have to stop them). My server only deals with US clients anyways so might as well just start right there for my server's security before getting into the brute force and injection preventions. So I got it all done compiled everything moved to the proper directory. I then started to setup my iptables. Like so

Code: iptables -F INPUT
iptables -F OUTPUT
iptables -I INPUT 1 -s *.*.*.* -p tcp --dport 22 -j ACCEPT
iptables -I INPUT 2 -s *.*.*.* -p tcp -j ACCEPT

[Code]...

After seeing that i went digging in the code and figured it was something todo with memory allocation.

View 1 Replies View Related

General :: Restricting Dynamic Ipaddress By Based On Dynamic DNS Host Names?

Dec 12, 2009

I want to restrict the Visitors to my Webserver whom i want to give access But the persons whom i want to give access. have Dynamic IP. I want to use DynDNS and update IP address of person. Based on the Hostname Pointing to Dynamic address of person.

View 5 Replies View Related

Server :: Create SSH Server In Home With Dynamic Public Ip?

Jun 15, 2011

i need to create a SSH server in my home and i should able to log in my SSH server over the internet from out site. what are the setup i have to do?

View 14 Replies View Related

Networking :: Hide The IP Of Y Server Want X Server To Be As VNC Proxy And Redirect All VNC Sessions To Y Server

Aug 21, 2010

I've two internet based server ( xx.xx.xx.xx and yy.yy.yy.yy ) The Y server is running VNC server and is responsible for answering to VNC sessions. But I need to hide the IP of Y server so I want X server to be as VNC Proxy and redirect all VNC sessions to Y server.

I guess the best way is to use iptables but actually I can't get it working so

View 4 Replies View Related

Ubuntu :: Dynamic Ip On Server?

Feb 3, 2010

I've got Apache installed so I can learn perl and php, and to show off, of course. I just realized last night that my IP isn't what it was three months ago.does anyone here have any experience with a dynamic IP program (like DynIP back in the day.) .. I've seen a few options, but I was hoping someone would have some experience.

View 5 Replies View Related

Server :: Configure Name Using Dynamic Dns

Jan 1, 2010

I want to know that is it possible to configure the nameserver using dynamic dns server of free of cost.if yes then how and if not then why not.

View 2 Replies View Related

Server :: Configurre Name Using Dynamic Dns?

Jan 1, 2010

I want to know that is it possible to configure the nameserver using dynamic dns server of free of cost.if yes then how and if not then why not.

View 4 Replies View Related

Debian :: Mail Server On A Dynamic IP

Oct 22, 2010

I have a domain name and also a no-ip domain that points to my web server. I am just wondering if it would be possible to implement so I can have a play with some mail servers and get some experience of them.

View 3 Replies View Related

Server :: Redirect Local DNS Query To Remote DNS Server On Non Standard Port?

Feb 19, 2010

The issue is that my CentOS workstation is in a vlan from where the Intranet's DNS servers are unreachable. For browsing the web there is an ISA proxy server, which I presume resolves DNS for my firefox. However, wget, host, ping and aria2c fail to get any sort of DNS resolution since they're being run from command line.I have exported HTTP_PROXY value, which provides me internet access on console, but,only when I connect using IP address. It fails on name resolution.

My question is:May I redirect the DNS queries to my home PC which would be running a DNS server on a non standard port?I was thinking of putting nameserver 127.0.0.1 in /etc/resolv.conf and then put iptables rule to redirect 127.0.0.1:53 UDP to a.public.ip.address:3535 UDP..I don't know if I am shooting blanks or what, I am not very much aware of this kind of setup.My main need is to provide DNS resolution to console apps.I want to utilize my company's idle bandwidth for bulk downloads, so, using proxy, SSH tunneling through my Home PC is out of question.

View 8 Replies View Related

Server :: Hosting Multiple Subdomains On 1 Dynamic IP?

May 16, 2009

I run my own DNS servers and host my own domains. I'd like to host a few subdomains of one of my domains on a server with a dynamic IP. Is there a way to do this? I *believe* that I can host one subdomain by using a CNAME record and a dynamic DNS service.

[code]....

How can I host more than one subdomain on a server with a dynamic IP address?

View 2 Replies View Related

Server :: Sendmail: Email Blocked Due To MUA's Dynamic IP?

Feb 11, 2011

I use sendmail as the MTA for our company. Lately employees have started working from home. These home users send their email through our company MTA using SASL-AUTH. This works fine for the most part but lately we've seen problems with this. The SORBS blacklist looks not only at the IP address of our company's MTA but also at the IP address of our employees home computers. (After all, the home computer IP address is revealed in the mail header.)

SORBS has been rejecting emails sent from our home users because their dynamic IP address is present in the email headers. This is true despite their email passing through our company MTA which is on a properly forward and reverse mapped static IP. The company MTA is not listed in SORBS but the mere presence of a dynamic IP somewhere in the mail header is causing outright rejection. This seems bizarre to me considering home workers sending through a company relay is a common and reasonable business practice.

Can sendmail offer a solution here? For example, to change headers to obscure the IP address of the MUA or make the email appear to have originated directly on the MTA? I don't want to mess with internet RFC but frankly I'm out of ideas for how to get the mail delivered.

View 1 Replies View Related

Ubuntu :: Server Static IP Setup But Still Giving Dynamic IP's

Mar 21, 2010

I have setup like instructed in online tutorials.

Here is a copy of my interfaces file:

Code:

Code:

View 9 Replies View Related

Server :: Do Smtp/pop/imap Servers Work With Dynamic Ips

Sep 30, 2010

i want to set up an email server both to receive and send emails. I also am on a dynamic ip scheme with my ISP. I do have a dynamic dns account with no-ip.org the Questions are:

-will somebody be able to send emails to me at the <user>@<dyndns_name>.no-ip.org email address?

-will I be able to send emails from the <user>@<dyndns_name>.no-ip.org email address?

I know i'll be able to login to accounts like gmail and yahoo and download emails from there.. but even that i don't know - even macroscopically how its done:

-is it the sendmail deamon that accepts the mail from <me>@gmail.com, <me>@yahoo.com, <me>@<dyndns_name>.no-ip.org?

-is it the sendmail deamon that does the sending of email (as well)?

-can it push emails that I want to send as <me>@gmail.com to the gmail smtp servers (and they in turn will push my email even further)?

-can it push emails from <me>@<dyndns_name>.no-ip.org to receipients?
and finally,

-WILL receiving pop/imap servers allow incoming email from my server? or due to the dynamic ip they'll assume I'm a spam server?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved