Networking :: Forward One IP Address To A Machine To Get Rid Of Nat

Apr 12, 2010

My ISP can give me up to 5 ip addresses. Is it possible to "forward" one of them to a machine to get rid of nat? I was thinking of "forwarding" one public ip to my machine and let the rest of the network share one ip using nat.

View 7 Replies


ADVERTISEMENT

Networking :: Directly Forward Everything Coming Into An IP Address Or Should Try VPN

Apr 26, 2010

My task is, to set up a(nother) server for our server room. Access is difficult, closed doors, remote location, etc. Therefore my idea was, to install, configure, etc. everything in my office. Since the server will have to work in the DMZ, I can't do much in my office; I have no DMZ-address here. Therefore I was thinking of 'forwarding' the future IP-address in the DMZ, let's say 10.10.10.1/24, from a stub machine placed in the server room into my office. I wonder how to do this most favourable.

So I think port-forwarding around 10 ports with ten ssh sessions would be neither clever, nor elegant. I wonder if it is possible to directly forward everything coming into an IP address directly instead? Or should I try VPN?

View 9 Replies View Related

Networking :: Set Iptables To Forward All On An Aliased Ip Address?

Apr 15, 2009

I have three machines on three networks192.x.x.x10.x.x.x172.x.x.xThe routers are set to forward communication between 192. network and 10. network, and between the 10. network and the 172. network.However, there's not routing between 192. and 172.I want to fix that by using a machine on the 10. network to forward communication between the other two networks.The machine has one etherent connection eth0 whose address is 10.1.1.11I set up an aliased ip address eth0:0 to be 10.1.1.12 using Quote:ifconfig eth0:0 10.1.1.12Then I tried to set forwarding rules the 10. machine such that 10.1.1.12 address will provide access to the machine 172.1.1.55 as followsQuote:# iptables -t nat -A PREROUTING -d 10.1.1.12 -j DNAT --to-destination 172.1.1.55The default policies for all chains is ACCEPT.I then try to access 10.1.1.12 from 192.1.1.20 expecting it to actually access 172.1.1.55 ; it does not work

View 3 Replies View Related

Ubuntu Networking :: Possible To Forward X11 From Windows To Machine?

Jan 28, 2010

Is it possible to forward X11 from Windows to a linux machine? Such as, running MS office or other software that runs on windows to your Linux desktop?

View 5 Replies View Related

Networking :: Forward SMTP Packets From Web Server To Another Machine?

Mar 8, 2010

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:

Code:

$IPT -A FORWARD -p tcp -s 0/0 -i eth0 -o eth0 -d 10.10.0.200 --dport 25 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT

It didn't work. I am assuming that since I only have one interface, a simple rule to the filter table and forward chain will not work.So i use the NAT table and try the following:

Code:

echo 1 > /proc/sys/net/ipv4/ip_forward
$IPT -t nat -A PREROUTING -p tcp -i eth0 --dport 25 -j LOG --log-prefix PortForward: --log-level 7
$IPT -t nat -A PREROUTING -p tcp -i eth0 -d 68.***.26.*** --dport 25 -m state --state NEW,ESTABLISHED,RELATED -j DNAT --to-destination

[code]....

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.

View 7 Replies View Related

Networking :: Iptables Can't Port Forward (PAT Port Address Translation)?

Feb 20, 2010

I'm using a Debian servers, as router/firwall.. I've two ethernet interfaces into the server, one for wan and one for lan. The i use SNAT so my LAN clients can access the internet throgh the debian router. That is working... Now i want to be able to access servers on the LAN site from the WAN site, and i wanna use port address translation (PAT). I have a FTP server running on a lan server, so i'm trying to portward port 21.

iptables -t nat -A PREROUTING -p tcp -i eth1 -d (WANIP) --dport 21 -j DNAT --to 192.168.1.2:21

When people try to access my FTP from the WAN site, they are redirected to the local FTP server, and they are promted for crendentials, but when the credentials are typed, and the local ftp server should answer the wan request, the connections dies.

The wan clients are being promted for credentials, so they are redirected to the local lan server, but after that the connections dies, so i think there is some kind of nat problem, when the local lan server is trying to respond to the wan request..

Here i my iptables script:

#flush table
iptables -F
#input regler

[code]....

View 6 Replies View Related

Networking :: Determine The IP Address Of A Machine?

Apr 6, 2009

I'm just an undergrad with duck tape and google searches to hold this place together. Anyways on to my question. Where I work, we have a tape library but no way to configure it, the backup software simply talks to the robot to load and unload tapes. There is a network port on the library and I do have the software, but have been running into problems getting access. I was wondering, is there a way to determine the ip address of this machine by plugging in a cross over cable with a laptop and scanning it? What tools could I use to do this?

View 5 Replies View Related

Fedora Networking :: No IP Address For Local Machine?

Mar 31, 2009

I tried to authenticate using ntlm proxy authentication service and my computer could not retrive the IP address. Currently I am using fedora cammbridge

View 1 Replies View Related

General :: Networking - Changing MAC Address In A Machine (fedora 8)

Jun 24, 2010

I am doing a test on MAC learning and for that ,I need to change my MAC address of linux machine while the interface is UP. To be more clear, consider eth1 in a fedora core 8 machine. And while the interface is UP. I am running a script which changes the MAC address from 10:1:1:1:1:1 to 50:50:50:50:50:50 (i.e 50 times MAC address is changed) . When I try to change the MAC address when the interface it UP, it gives me the following error :

siocsifhwaddr : device or resource busy

I know the way of changing the MAC address by bringing down the interface but I need to know if this can be done while the interface is UP.

View 2 Replies View Related

Ubuntu Networking :: 8.04 - Gain IP Address At Machine Boot

Mar 9, 2010

I am running Ubuntu 8.04, and I am able to access my machine via SSH, but I only want the log in screen visible on the machine itself, yet still able to work with the SSH. But to do this, I have to log in, get the IP address, log off, then log in via SSH. How do I make the machine receive an IP address during the boot-up!

View 7 Replies View Related

Networking :: Finding Mac Address Of A Machine On Local Network?

Dec 18, 2010

i want to know mac address of a particular ip but the problem is that i am unable to ping that ip but that ip is being used by someone in my local network that i know from my proxy logs. i want to know the mac address of that ip,

View 5 Replies View Related

Networking :: DHCP To Assign Specific IP To A Particular MAC Address Of A Machine?

Feb 22, 2010

I want to setup 1Gbps our lab network and we purchased 'Buffulo Giga layer switch ' with 24ports. Is there a way to tell DHCP to assign specific IP to a particular MAC address of a machine ? We want to use DHCP and whatever the port we use ,it should have same IP ..

View 1 Replies View Related

Fedora Networking :: Find The IP-ADRESS Of A Machine Using The MAC-ADDRESS Within A Subnet?

May 20, 2009

Is there any tool or command where I can track down the IP-ADDRESS of a machine within the subnet using its MAC-ADDRESS .

View 11 Replies View Related

Ubuntu Networking :: OpenDNS - 8.04 Machine Do Not Always Resolve Internet Address

Nov 17, 2010

I have an odd thing going on with DNS. I have two machine's running Ubuntu and for some reason they do not always resolved internet addresses on my Internet connection. This has gone on since the Ubuntu 8.04 when I first started using Ubuntu. Anyway, I use OpenDNS' DNS servers and I have been running perfectly.

This is what is odd. My Windows XP Machine never has the problem. It always resolves. Does Windows Possibly have some Microsoft hosted DNS server hard coded in there as a backup? Things are working fine this way so I am not looking to change. I am just a little puzzled and finally got around to asking, "Why is this".

View 9 Replies View Related

Ubuntu Networking :: Set A Static IP Address - See The Lubuntu Box From A Windows Machine?

Jan 11, 2011

#1: Where can I assign a static IP address on my lubuntu box?

#2: Also, is it possible to see the lubuntu box from a Windows machine? If so, how does that work?

View 3 Replies View Related

CentOS 5 Networking :: Find Remote Machine Ip Address Used By JDBC

Mar 1, 2010

I am accessing a remote DB using JDBC from inside a java program. is there any terminal command with which I can see the remote machine's ip/mac address?

View 1 Replies View Related

Fedora Networking :: Assigning IP(V4)address To Machine And Make It Accessable In Internet?

Feb 11, 2010

I want to make make my fedora machine access-able over the internet. I want to assign IPV4 address to this machine( I already have one IP address ) which can be used for this. What configuration changes I need to make in fedora to make it accessable to the external world

View 6 Replies View Related

Server :: Redirect / Forward Mail To Another User From Specific Address?

Jun 30, 2009

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?

View 1 Replies View Related

Ubuntu :: X11 Forwarding Via Ssh Connection - Doesn't Forward To Display To Local Machine

Jul 30, 2010

I am trying to run xeyes on a remote machine via ssh connection. Both my local and remote machines are Ubuntu 10.04. I connect to remote server via ssh -X and It does not forward to display to my local machine...

Code:
root@goliath:/opt/install/bits# ssh -X -l root duke
root@duke's password:
Linux duke 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
Ubuntu 10.04 LTS
[Code]....

View 6 Replies View Related

Fedora Servers :: Port Forward On The Fly Or At Startup With Virt Machine Manager And Kvm-qemu?

Jan 6, 2010

I'm running some vm's in FC12 with kvm-qemu and using virt machine manager. I'd like to have some ports automatically forward on startup and be able to add redirections on the fly. Redirection on the fly is talked about here, but I am getting lost on what should be basic instructions.[URL]

As far as startup, In the past I just ran qemu from the cli and manually specified redirection with redir. I can't figure out how to do it with The virt machine manager which I am using to start my VM's now. I do not want the guests to see the host. From cli startup without virt machine manager, it looked like this: qemu -m 256 -hda vm.img -redir tcp:5555::80 -redir tcp:5556::445 &

View 2 Replies View Related

Programming :: Get The Ip Address Of The Client Machine?

Jan 2, 2011

I am connecting to linux server(RHEL4.7) using putty from my windows machine. Is there any way to get the ip address of my windows machine using C program in linux.

View 9 Replies View Related

Programming :: Ip Address Of Machine Using Bash Script

Jul 22, 2010

I want to get only the IP address of the machine and store it in a variable.

I have tried following commands and I get an error:

Error is -

View 9 Replies View Related

Slackware :: Which IP Address To Use When I List Machine Name In /etc/hosts?

Jul 21, 2010

1) I'm not sure which IP address to use when I list my machine name in /etc/hosts, particularly after reading:

Quote:

By the w]ay, Arnt Gulbrandsen <agulbra@nvg.unit.no> says that 127.0.0.1 # should NEVER be named with the name of the machine. It causes problems # for some (stupid) programs, irc and reputedly talk. :^)

Here's what I have now:
Code:
root@eagleswing:~# hostname
eagleswing
root@eagleswing:~# cat /etc/HOSTNAME
eagleswing.5binc

[Code]...

I'm not certain how to include my router in /etc/hosts so I can use it to link my PCs as stated above. I was thinking of writing (see above link):

192.168.2.1 localbelkin Will this work & is it proper?

3) Do I need to make use of any other IP addresses at this link? What are the WAN IP & Default Gateway addresses used for? I am going to be serving documents & running scripts on Apache.

View 2 Replies View Related

Ubuntu Networking :: Port Forwarding From Public Address To Private Address?

Feb 24, 2010

Currently my OS is Ubuntu 9.04 Jaunty Jackalope Desktop OS and my web server is Apache2. I have a public address 60.x.y.z and my pc local address is 10.x.y.z. I have a web app in my Apache2 which currently run in localhost(10.x.y.z).

I would like to enable the web app so that it could be browse from outside. I know there maybe some port forwarding process and some commands involved in order to do that. But I have no idea on the steps to do that.

View 5 Replies View Related

Networking :: Error Str2addr:Address 35 Outside Range Of Address Field Length 1?

May 12, 2011

I am working on implementing a protocol on NS2.34 .I really need help to solve this problem . Actually , I don't now whether the problem is generated by the tcl code or the c++ code when I run the simulation, I get this result :

Code:
num_nodes is set 64
INITIALIZE THE LIST xListHead
34
45
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
code....

View 1 Replies View Related

Networking :: Program To Assign Globa LIPv6 Address And Bind() To The Previously Assigned Address?

Apr 24, 2010

Consider the following program:

Code:
#include <stdio.h>
#include <stdint.h>

[code]...

View 2 Replies View Related

Ubuntu Networking :: Static IP Address And The Install Configures For A DHCP Configured Address - Network Not Starting

Dec 16, 2010

Version 10.04 LTS. Installed desktop version and network worked but I needed a static IP address and the install configures for a DHCP configured address. I tried changing to static address using the System->Preferences->Network Connections application but was unable to get the system to come up with the network up.

So I manually modified the /etc/network/interfaces and the /etc/resolv.conf files. I restart the system but when I do an ifconfig, I don't see a configured IP address on eth0 (only the loopback address). If I run /sbin/ifup eth0 everything then works fine and ifconfig shows the correct address bound to eth0.

My files are as follows:

View 2 Replies View Related

Ubuntu Networking :: IP Address Set To Manual But Still Queries DHCP For Address

Mar 12, 2011

I'm running Ubuntu 10.10 and I'm having problems trying to assign it a static IP address. No matter what I put in the Preferences->Networking area (identifying the interface as Manual)... it still will query DHCP for an address if I run the dhclient command. I'm using to using ubuntu server where I just set the IP in the interfaces config file.

View 1 Replies View Related

Networking :: Dynamic IP Address With PTR Record Versus Fixed IP Address Without?

May 7, 2010

I am running my own Postfix mail server. Some time ago I noticed that most email was rejected because of the server's dynamic IP address. So I got a fixed IP address. However then I noticed that some mails got rejected due to failing the reverse DNS check. So my ISP told me to get a range of IP addresses and they could then create a PTR record for one of those addresses. That is now running but it turns out that the IP address used for the PTR record is a ... dynamic IP address. So Spamhaus PBL rejects my emails again.

View 1 Replies View Related

Networking :: Bind External IP Address To Internal IP Address?

Jun 7, 2009

I have a few external IP's assigned to me by my ISP. I have IPcop as my router/firewall. I am wondering how to bind 1 of my external ip's to my internal ip address. So I do not have to port forward, etc. For Example, 77.77.77.77 to 192.168.1.123 and on the server it see's the external IP address.

View 2 Replies View Related







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