Networking :: Port Redirection To Internal Network NAS Box

Jan 17, 2011

I'm have a base level understand of linux at this point. I have Debian box that I am trying to do some port redirection with.

I have my external NIC as eth0 with an IP of x.x.250.5.
I have my internal NIC as eth1 with an IP of 192.168.1.1.

On the internal network I have a NAS box with a web interface at 192.168.1.100. What I need is to set it up so that a request to x.x.250.5:8080 will some how forward/redirect to the internal network NAS box at 192.168.1.100:80.

View 3 Replies


ADVERTISEMENT

OpenSUSE Network :: Port Redirection - Multiple IP Addresses - Or Run On Port 80

Apr 7, 2011

In SuSE firewall0. I do have a openSuse 11.4 and multiple IP addresses on eth0 interface

I run (trying to/have to) multiple TOMCAT servers.

I am trying to have each tomcat instance listen to on separate IP address for example:

What i am trying to do is to redirect

a) tomcat 1 -

a) tomcat 2 -

And so on.

I know that it has to be possible.

I do have just eth0/

Is is it possible. Do I have to create "vittual interfaces"? eth0:1, .......... and do redirection ?

"Server" has got just single interface - just 1 ethernet calbe goes to that server. I am planning to have 10-15 tomcat's on that server (I have to unfortunatley) and each has to run on port 80

Is it possible to "grant" permissions to normal users to run app on port 80 - that would solve me lots of problems if impossible to redirect.

I tried to setcap 'cap_net_bind_service=+ep' /path/to/tomcat ...... but no luck

View 7 Replies View Related

Networking :: Port Forwarding Within Internal Network

Feb 26, 2010

I have a question about port forwarding. I have an internal Red Hat server and I would like to use it as a central connection point to some back end servers. This is not an internet router setup. I was thinking I could use iptables and do port forwarding similar to an internet router but internal to internal.
Basically I would like to take any connections to port 22 on server1 interface eth0 and forward them out of interface eth1 to server2 port 22.I am finding a lot of information on port forwarding, but it is all based on using an internet router that is passing through to an internal server. I need to know how to configure a basic linux setup with no existing iptables entries so that I can do this within an existing network.Also, if there is a better or easier approach I would appreciate any direction. I don't want to do this through an SSH tunnel.I know to start I need the following to enable forwarding in the kernel and a firewall PREROUTING rule.

View 5 Replies View Related

Networking :: Port Forwarding In Bittorrent Client In Internal Network With Nat

Apr 9, 2010

I have an internal network behind a server <10.0.0.1> connected to the internet that NATs my ip <10.17.11.88> only. NAT is not allowed to any other ip addresses. When I use Transmission Bittorrent client to download torrents, The thing is that this 10.20.0.244 is not my machine and doesn't have access to the internet at all. What is happening here? Can anyone help me?

View 8 Replies View Related

Networking :: Allow A Port Redirection For Rdp Clients?

Jan 27, 2010

Ok, here goes, I have a rdp server sitting at a remote store which is behind a router I do not control.

I might be able to get the phone company to add routing to it but at the moment I'd like to do this with ssh and reverse port routing, because I might need this for other ports later and I never know if the phone company wont break other routings already in place or just screw up the entire thing .

I am able to have a linux box at the site ssh into a server located where I'm at and reverse port forward port 3389 to that server. I can also then ssh into that server from my linux box and port forward 3389 to my box, under another port since my 3389 is already in use. Finally I can use rdesktop to rdp on the my local box which bounces it through the server and back to the linux box which forwards it to the rdp server (A Windows 2008 server to be exact). This is all well and good and works reasonably fast, but, I need to be able to have users on windows boxes at my site do this without all of the rigmarole. I need to, I guess, redirect a normal open port, or create one, on the server where I am so that it connects internally to the reverse forwarded port or open the internal port to the outside. So I guess I need to make it a 'gateway' for that one port, this way all I have to do is point the rdp clients at the main server and port to have it eventually connect to the rdp server in the remote store.

how to go about doing it. I guess I need an iptables entry forwarding the port but I'm not sure what is should be.

The other option is opening up the port 3389 to the outside but I'm not sure how to do that either. Right now I have no iptables entries at all but even if I turn off iptables completely port 3389 is not available if I try to use it from another pc on the network but I can rdp from the server itself using the 3389 port so I know it's working internally.

View 2 Replies View Related

Networking :: Use Port Redirection Using Iptables?

Jun 17, 2010

There is this server where in I want to use port redirection using iptables. For port redirection I have used nat table with PREROUTING chain and REDIRECT option. Like:

Code:
iptables -t nat -A PREROUTING -p tcp --dport pop3 -j REDIRECT --to-port 8110
It just does not work. I have tried to redirect other ports as well but nothing works.

[code]....

View 15 Replies View Related

Networking :: Port Redirection In Same Machine

Mar 29, 2009

I am using squid proxy server in my Linux machine for caching. Now i want run my squid in transparent mode not set proxy settings in browsers.Like squid is running port 3128. If we redirect the port 80 packets to port 3128, looping is occurred.How to avoid looping?

View 5 Replies View Related

Red Hat / Fedora :: Netcat / Port Redirection - When A Connection Is Received On A Port Say 123?

Apr 6, 2010

i am running ncat (netcat's new version from nmap) on centos . I am listening on different ports. My question is , is it possible that when a connection is received on a port say 123, i redirect this connection to a different port and use the 123 port again for listening connections. ncat has an option -k which u can add with -l , it will force fully listen on the port. It can accept multiple connections on a single port but i want that once a client connects on to 123 port, he is forwarded to some other port and no longer on 123.

View 4 Replies View Related

General :: When To Do Port Redirection

Feb 10, 2010

Under what condition port redirection could go useful?

View 2 Replies View Related

Server :: Apache Port Redirection?

Mar 25, 2011

I'm running a server with Ubuntu 10.04 installed. I recently set up a VirtualHost (I'll call it my.website.com), like I have in the past without any problems. But this time, I'm stumped. When I connect to my.website.com, it should hit port 80, right? It doesn't; rather, it hits port 8000. I don't have any rewrites/redirections (I checked wherever possible) and checked apache2.conf (httpd.conf is empty).

View 5 Replies View Related

Networking :: SSH From Internal Network

Oct 6, 2009

I am not too knowledgeable on networks, however I think this should be possible.I have a computer at work, which is connected to the work network. I have files stored on the central server here and also my local computer.

At this place, computer support say "We do not offer this service". However they also say "The simplest way to do what you are asking is to install an ssh server on your actual workstation".I have done this, and it the openssh server is working because I can test from my workstation by doing ssh user@hostname and it works.What I want to do however, is to connect from outside the network. Firstly, is this possible, and secondly, what is the syntax for ssh in order to do it.

View 3 Replies View Related

Networking :: Cannot Ping Internal Network

Jan 28, 2009

cannot ping internal network

I am a new user to Linux but in the last couple of months gained some Idea about it,I am trying to set up a small network in my office having 3 windows xp PCs, two fedora10 PCsI have an adsl router with 4-port hub connecting to the internet, one switch (say sw1) and one linux PC (say linux1) is connected directly to the router, the three win xp PCs are connected to switch sw1.all the above is working fine, I am able to get connected to Internet In all the systems, and able to network among all the above four.Now I want to make the linux1 as a proxy server for, hence I added another network card into it connected it to another switch sw2, which is connected to another linux pc (say linux2).

I have tried a hundred things, and googled an equal no. and finally posting it here.In order to reduce confusion I have disabled DHCP in all machines, and given static ips insteadNetworkManager was not happy about it, hence to fix my static IP i disabled NetworkManager ('chkconfig NetworkManager off')

View 10 Replies View Related

Networking :: Can't Connect To Internal Network

May 11, 2009

I did a new install of Kubuntu 9.04. I use static ip addresses. In an attempt to resolve the issue with the network manger in 9.04, I removed the network manager. I am now able to set the ip addresses just fine and I get to the internet. However, for some reason, I can't get to my internal router. Has anybody encountered this or have a suggestion on what I may try?

View 6 Replies View Related

Fedora Networking :: 3G USB Modem Has Wrong Device Port In NM - Change Device Port In Network Manager?

Aug 14, 2009

I installed ZTE MF 626 modem in my F10 with kernel 2.6.27.12-170, i run usb_modeswitch and so far things happened normally. Watching through /var/log/messages it says that F10 detects two port device for this modem: ttyUSB1 and ttyUSB2, and in the sequence it disable port ttyUSB1 BUT Network Manager still set this port.I mean, when i connect via wvdial appointing to ttyUSB2 i get connection, but Network Manager fails to do it appointing to ttyUSB1. How to change device port in Network Manager?

View 1 Replies View Related

Networking :: Can't Access Websites From Internal Network

Aug 28, 2010

I am in the process of setting up my own Linux gateway/firewall using two nics eth0(external network) and eth1(internal network). The Linux gateway hands out ip addresses using dhcp3-server, and uses iptables to route the traffic correctly. Clients are able to connect and access the internet...everything is working great, HOWEVER I can't access my apache virtual hosts websites from the internal network? They work just fine if i access them from the outside world

I can type ip of the web server, 192.168.0.201 and it shows the first virtual host listed in my /sites-enables/000-default folder. but i can't use any DNS entries. I don't have any internal DNS servers running. This doesn't makes sense, because if i replace the linux firewall/router with my normal linksys wrt54G router it works just fine.

View 4 Replies View Related

Networking :: Multiple Network Connections - Internal And Wireless

Dec 4, 2008

What I want is quite simple, I have my PC running Linux Mint 5 (Elyssa), and I would like to connect it to both an internal network, which has a file/print server, another machine and will soon host a small cluster. I also have a wireless router connected to the tinterweb.

The thing is using my ethernet I want to connect to the internal network whilst simultaneously using my wireless to deal with the internet, I want to keep the internal network off the net as it really doesn't need to be connected. I can connect to my internal quite happily and also my wireless but not both at once.

View 5 Replies View Related

Networking :: Preventing Internal Network Traffic With Firewall

Jul 3, 2010

Does anyone know if it is possible to filter/block network traffic between internal hosts on a lan?

Eg. : Linux firewall/router ( 192.168.0.1) - LAN Default G/W - all internal > external traffic gets filtered.

How would you filter tcp/ICMP/UDP traffic from internal host a ( 192.168.0.2 ) to host b ( 192.168.0.3)

All the internal hosts have the linux f/w as the default gateway, and are all on the same /24 subnet.

I would like to know if I can filter traffic between internal hosts.

View 3 Replies View Related

Ubuntu Networking :: Internal Network Doesn't Seem To Be Loading Driver

Feb 27, 2010

I just recently installed a fresh copy of 9.10 server on an older machine I had laying around to use as a router and home server. Everything is setup and I'm on the net on it, except for some reason the Netgear GA311 I'm using for the internal network doesn't seem to be loading a driver. I've tried modprobing 8139 (which it says isn't found) as well as 8139too, 8139 too goes through ok, but it doesn't make any change, with lshw still claiming that it is "unclaimed". It seems that the Realtek chipset this card is based on is extremely compatible with Linux and I'm having trouble finding anyone with a similar issue with it.

View 9 Replies View Related

Ubuntu Networking :: Ping Fails On A Single Pc In Internal Network?

Jun 1, 2010

I want to ssh to a pc in our home network. It is a standard network in terms of a DSL router, dynamic IPs via DHCP, WPA2/PSK security, wireless network connection for all pcs except one which is wired to the router.I got the error "no route to host" from ssh. Openssh-server was already installed. It turned out later that the laptop I want to ssh to (namely the one which is connected by cable) cannot be pinged by any other laptop on the network.

The pc in question (lucid lynx with most recent updates) is online, can ping itself and the router, but cannot ping others in the network and cannot be pinged by them. I suspect a firewall setting of being the problem.

View 1 Replies View Related

Ubuntu Networking :: Static Route For A Nested Internal Network?

Jul 13, 2010

I'm using ubuntu server 10.04. I need to create a second network to do some testing. Here's what it looks like so far: WAN > x.x.x.x/9 > router > 192.168.1.0/24 > LAN

I need to do this: WAN > x.x.x.x/9 > router > 192.168.1.0/24 > LAN > ubuntu server (LAMP, dhcp, dns via eth1) [eth0 192.168.1.138] > ubuntu server [eth1 10.0.0.1] The two networks should be transparent to one another. I've got everything working, except routing. Here is ifconfig:

[Code]...

View 5 Replies View Related

CentOS 5 Networking :: Open The Firewall To Internal Network Card?

Jul 28, 2010

I have just installed CentOS and it is working fine!I made a masquerade with the document there: I didn't used the script, because right now, I do not completely understand it, and obviously I am not modifying anything by leaving it like that.I was using Mandriva before and I am used to graphical tools My questions are:I add the following lines in my iptables:

[root@localhost ~]# service iptables stop
[root@localhost ~]# iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
[root@localhost ~]# service iptables save

[code]....

View 1 Replies View Related

CentOS 5 Networking :: Public Subnet Is Not Accessible From The Internal Network

Aug 6, 2010

I will try to explain a bit first about my network typology: I have one cent os 5.5 machine with 2 nics - external one 86.x.x.122 and internal one with 2 IPs: 192.168.1.1 and 89.x.x.121. The ideea is that I have a public subnet (86.x.x.120/29) of IPs which are routable only through 86.x.x.122 so I have a webserver hosted on a different machine with the IP of 89.x.x.122 and GW 89.x.x.121 - everything works perfectly fine, except that I cannot access from the internal network 192.168.1.0 / 24 the so called DMZ (roughly) - the 89.x.x.122.

What really makes me crazy is that I setup the IPtables rules correctly because I can access the webserver from the outside world but I cannot accessit from the internal network...

what I'm missing - why the 192.168.1.0/24 cannot see the 89.x.x.122 machine... What IPtables rules should I add?

View 2 Replies View Related

Ubuntu Networking :: Internal Error Java.net.NoRouteToHostException: Network Is Unreachable?

Aug 7, 2011

I am plagued by the following error when attempting port forwarded connections to my minecraft server. Port forwarding is good and test ok on router based firewall. No iptables entries. Natty N, all updates current.

[INFO] Disconnecting CascadianNW [/184.100.247.218:57787]: Failed to verify username! [internal error java.net.NoRouteToHostException: Network is unreachable]
java.net.NoRouteToHostException: Network is unreachable

Some discussion indicate jvm network connection issues related to ipv6, but they are old posts.

View 1 Replies View Related

General :: Redirection Of Private Network Packets In The Gateway

Jul 25, 2011

I have users using Windows XP, Windows 7, Linux (Fedora) and Mac. They all are in a single private network and all access internet through a Linux (RHEL5) system in which Squid acts as gateway. The same is true with my branch offices too except that private network is different and gateway system uses Fedora 9 instead of RHEL5. All the branch offices are connected through point to point leased lines with the head office for file transfer.

My requirement is this: I have a web server located at head office. Presently I am able to access this server from my branch offices through internet. I would like to access this server from branch offices through leased lines. This too I am able to access if I do routing in users system. The file transfer is taking place through one to one system at two ends by creating static routing in those systems.

View 1 Replies View Related

Fedora Networking :: Configuring IPv6 (network) Tunnelling - Getting Only Internal Addresses From DHCP

Aug 25, 2011

I am trying to configure my IPv6 network. My computers are behind a Fedora gateway IPv6-configured, which is working great. But for computers inside my network, it seems I am getting only internal addresses from DHCP. Here is my ifconfig for an internal computer:

Quote: em1 Link encap:Ethernet HWaddr F4:6D:04:34:92:2B inet addr:192.168.0.184 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::f66d:4ff:fe34:922b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:744250 errors:0 dropped:0 overruns:0 frame:0 TX packets:548987 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:841392242 (802.4 MiB) TX ytes:60384500 (57.5 MiB) Interrupt:18 Memory:f7100000-f7120000

he-ipv6 Link encap:IPv6-in-IPv4 inet6 addr: 2001:470:1c:611::3/64 Scope:Global inet6 addr: fe80::cea7:b778/128 Scope:Link UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:61 dropped:0 overruns:0 carrier:61 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[Code]....

View 2 Replies View Related

Software :: Smokeping Network Monitoring System - URL Redirection In Apache

Feb 21, 2011

I setup apache server in order to gain access for the smokeping network monitoring system.
I am accessing the system using [URL]
But I want this page access using [URL]

My httpd.conf file looks like :
Alias /smokeping/ "/usr/local/smokeping/htdocs/"
<Directory /usr/local/smokeping/htdocs/>
AllowOverride AuthConfig
DirectoryIndex smokeping.cgi
Options -Indexes ExecCGI
</Directory>

View 1 Replies View Related

Fedora Networking :: Port Redirect, I.e. Whatever Comes Through Whatever Interface On Port AAAA Will Get Redirected To Port BBBB?

Feb 18, 2010

I want to do a simple port redirect, i.e. whatever comes trough whatever interface on port AAAA will get redirected to port BBBBI thought that iptables -t nat -I PREROUTING --source 0/0 --destination 0/0 -p tcp --dport AAAA -j REDIRECT --to-ports BBBBhowever it doesn't work, e.g. nc -v -w2 -z localhost AAAA gives:

nc: connect to localhost port AAAA (tcp) failed: Connection refused
while
nc -v -w2 -z localhost BBBB

[code]....

View 10 Replies View Related

Ubuntu Networking :: NAT A Certain Port To An IP On Network?

Jun 7, 2010

I want to do something that should be simple... NAT a certain port to an IP on my network. *rant about how much I've tried, googled and failed*Our building has assigned us an IP Range (say, 10.0.0.x). They've also provided me with 1 public IP, which they NAT to an IP in that range of my choice (say, 10.0.0.50). I want to NAT port 6500 on that IP, to a different IP's port 80 (10.0.0.51:80) (i.e. come in on 10.0.0.50:6500, forward all the packets to 10.0.0.51:80).I've reset my firewall in Webmin, so it looks like this :Packet filtering : Input (Default Drop)

Code:
AcceptIf input interface is not eth1
AcceptIf protocol is TCP and TCP flags ACK (of ACK) are set

[code]....

View 1 Replies View Related

Networking :: Com Port On Ubuntu Accessible To Remote Win Pc Via Network

Nov 4, 2010

I am trying to have a serial device connect to my ubuntu machine via the com port, and forward that comport over the network to a windows box so that I can configure/access the device. I have looked into socat/ sredird but still haven't found an option that I can get to work.

View 1 Replies View Related

Ubuntu :: Addonics Reader Not Work Properly On Internal SATA Port

Jun 12, 2010

I've got an Addonics AEIDDSAU multi-flash reader/writer that uses the SATA port LINK. I'm running XUbuntu 10.04, 64 bit on an Intel DQ45CB motherboard. The board has 5 internal SATA-300 ports and one external eSATA-300 port. The Addonics reader works fine on the eSATA port, but it doesn't work (properly) on an internal SATA port. By "doesn't work properly" I mean that when connected to the eSATA port, plugging in a memory card causes an immediate detection and the contents of the card pop up in a window (as they should).

When connected to an INTERNAL SATA port, a plugged in card does not show, and using CFDISK to look at the "drive" shows an unformatted 64MiB disk that really doesn't exist. Being an INTERNAL device, the Addonics reader is rather worthless if it doesn't work on an INTERNAL port, and there's no clean way to bring the eSATA port inside the computer. By the way, I'm sure this is NOT a "Linux" problem because the reader behaves the same way in Windows XP.

View 5 Replies View Related







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