Networking :: PAT Address Translation / Why It Is Used For - Its Necessary?

Nov 26, 2010

Can anyone explain why pat is used for. From my view i think that when I configure NAT it work as well as PAT. Is it true? And also why PAT is necessary?

View 9 Replies


ADVERTISEMENT

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

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

Ubuntu Networking :: Obtaining Ip Address From Mac Address?

Oct 6, 2010

In my job I use some ethernet embedded devices. They take an ip address from dhcp server or auto ip. I only know mac address.How can I obtain ip from mac address? In other words I need a rarp packet generator.

View 6 Replies View Related

Networking :: (98)Address Already In Use: Make_sock: Could Not Bind To Address [::]:443?

Oct 28, 2010

I dont know for what reason, since 2 days, I started having this message whenever I try to start httpd.I commented "Listen 443", restarted httpd started correctly. I needed to comment "listen 443" in order to be able to start httpdWhat is strange is when I do

Code:
telnet mylinux 443
it responds

[code]...

View 9 Replies View Related

Networking :: Assign A Address To Ethernet Address?

May 29, 2011

how to assign a address to my ethernet card all the options available

View 1 Replies View Related

Software :: XSL Translation Using Apache Xlan-C++?

Apr 8, 2011

I want to use Xlan-C++ APIs to parse my XSL documents.

View 3 Replies View Related

Programming :: Python To Bash Translation?

Oct 17, 2010

Ive been learning bash over the past 6 months or so and have written a few scripts etc and i have just downloaded julius to execute my scripts and a few commands with speech recognition, the example script that comes with julius to execute commands is written in python and the example works fine when executed but i would like to further extend and customize it but i dont know anything about python, so ideally i would like to translate it to bash as that is what i am learning/using at the minute and would like to learn/use one language at a time, translating it as i think im a little out of my league, i look at the script and sort of understand how it works but i dont know anything about python and my knowledge of bash is limited for use of translating languages.

the python script is:

Code:
#! /usr/bin/python -u
# How to use it:
# julius -quiet -input mic -C julian.jconf 2>/dev/null | ./command.py
import sys

[Code].....

View 1 Replies View Related

General :: Foreign Characters And Strange Translation

Oct 18, 2010

In this case its the french accented e that is getting translated:[test]$ touch dd touch: cannot touch `351dd': No such file or directory the thing is the folder test is an smb mount. The windows server which is dropping files into it is able to make the file visible but the app running on the linux can't fetch it because the name is 'unexpected'if I create a file anywhere else e.g. in /tmp/ with the name response.txt it is fine. When I ls I see r?sponse.Can you advise me if I should be looking at the smb config AND the host config and give me some pointers as to where to get started trying to solve this.

View 3 Replies View Related

Programming :: LaTeX - Placing Translation In Parenthesis ?

May 6, 2011

Is there any method for placing translations in parenthesis at first occurrence? I need something similar to the acronym package, but instead, storing translations and printing brackets only after the first occurrence.

E.g. (pseudo-code):

Results in:

Do you like to eat bananas (xiangjiao)? No I don't like to eat bananas.

View 4 Replies View Related

Fedora :: Is There 'translation' Guide For Gnome Users Coming To KDE

Dec 30, 2009

Following ishaqbaig thread about Gnome to KDE in Fedora.I'm thinking of dipping my toe in KDE waters (currently a die hard gnome user since FC5).I was wondering is there a "translation" guide for gnome users coming to KDE in terms of showing comparable apps, configuration guides/tips etc

View 3 Replies View Related

General :: Building A Translation Platform - From English To German

Sep 27, 2010

I have now a second post on the work I am doing. I am trying to complete a model for translating English texts into German. My concept is a model using a text editor with only simple executable scripts being written to perform steps in the process. I need to use a language for doing simple things like tagging words and translating using a dictionary I am building. I am beginning to use AWK in conjunction with Bash and need to find some members with whom I can dialog on particular topics; even getting advice. Are there any AWK users in the community, using the language for processing text?

View 7 Replies View Related

General :: Copy Translation Tables From Staging Environment?

Apr 8, 2011

I have 3 translation tables,i.e,camp_generic_trans

camp_generic_trans_def
camp_generic_trans_epc

these tables exist in cntr1/cntr1@camABC1

I have to copy these tables from here to staging environment.

I need to first check if any of the tables exist in staging.If yes,then delete and create new. There are 4 staging env from 5 to 8.

I have to pass the staging environment as parameter to ask the user which environment does he want the tables to be copied.

View 1 Replies View Related

OpenSUSE Install :: Select The Catalan (Valencian) Translation - 47 Locales?

May 1, 2011

Let me introduce this topic before I ask my question. When selecting the system language, there are different options that are based on the ISO-639 standard, which defines a code locale for each language and country. This allow us to select, for example, pt_BR (Brazilian Portuguese) or pt_PT (Portuguese form Portugal) as the language system. Then, if two variants of a language are in a different country, the ISO-639 can differentiate them this way.

But there are languages, for example Catalan, that have two variants in the same country. Then, the ISO-639 cannot differentiate them. Here is where the BCP-47 standard appears [1]. It adds a subtag to identify variants or other codifications (like sr and sr@latin) of a language. In the Catalan case, standard Catalan uses the ca_ES locale code, and the Valencian variant uses the ca_ES-valencia locale code (the subtag is -valencia). On systems based on Debian is possible to select this variants using the @ modifier. Then, if I define this LANG environment:

LANG=ca_ES.utf8@valencia
LANGUAGE=ca_ES.utf8@valencia
LC_ALL=ca_ES.utf8@valencia

The translation shown on the system is the ca@valencia (for example, in GNOME). GNOME is already translated into Catalan (Valencian) [2]. As well as KDE, OpenOffice.org, VirtualBox, Firefox and many others. Here is my question: How can I select the Catalan (Valencian) translation (not the standard Catalan one) when using openSUSE? I have tried modifying the /etc/sysconfig/language file, and defining the rc_lang to:

[Code]....

View 2 Replies View Related

Networking :: Renew Ip-address With Mac-address?

Jan 18, 2010

I have a dedicated control computer that can only be accessed with web-browser (with its ip-address). My DHCP-server gives a static ip-address to the control computer (base on its mac-address). Somehow and after some time the control computer looses its ip-address (can't ping to it any more) ... and then I have to reset the control computer to get it to pick up the ip-address ... this is not a good solution since the control computer is not nearby. is there a way to force the control computer to renew its ip-address based on its mac-address

View 1 Replies View Related

Networking :: Trace An IP Address To A MAC Address?

Apr 18, 2011

My security software has picked up multiple port scanning detections on my router/network and only the IP addresses are available. Is it possible to find out what the remote mac address is to see if the IP source has been spoofed? I've got a couple of different IP sources which were found scanning my ports.

I don't know if my IP and the remote IP address are on the same network or subnet for that matter which is the reason for my wanting to know what the mac address is to find out if its coming from the same remote machine.

View 8 Replies View Related

OpenSUSE Install :: WARNING - Cannot Load Translation File Locale/en/rpmorphan_trans.pl

Mar 13, 2011

when i try to execute rpmorphan i receive this error, WARNING can not load translation file locale/en/rpmorphan_trans.pl

View 6 Replies View Related

Networking :: Get The Mac Address From Given Ip Address?

Oct 1, 2010

how to get the mac address from given ip address

View 3 Replies View Related

Networking :: Networking Routing \ Use The Terminal To Assign Server Eth0 A Proper IP Address?

Jun 8, 2010

i know exactly what i need to do, im just not familiar enough with command line to do it properly.i have 7 computers.the first 4 are connected to a router via wireless at one end of the house. of the last 3 only 1 will be able to access the router via wireless, so it needs to share it's one wireless connection via ethernet. this computer i'm going to call 'server'server will have two IP'swlan0 192.168.1.6 this connects to the router that has internet access.eth0 i intend to have the following settingsip:192.168.0.1sub: 255.255.0eth0 will connect to a second router, where the cat5 cable goes from the server, into the internet port of the router where i will define the router's static IP:IP: 192.168.0.100sub: 255.255.255.0gateway 192.168.0.1i have then set the router IP for LAN handling as 192.168.27.1 and all ethernet connections will have a 192.168.27.x IP.

so i need to know how to, without a gui application, use the terminal to assign server eth0 a proper IP address, and tell the server to take the connection it has and share it through eth0 to supply internet for the last 2 computers via ethernet.i had it set up in this way with a windows machine being the one that had the wifi access, but i'd rather have it setup for the ubuntu server to do this task. security is imperative for these 3 remaining machines, so just getting 2 more wifi adapters for a connection to the initial router isn't an option.the 2 that connect to server do so through SSH and though server IS connected via wireless it only makes outward connections through

View 1 Replies View Related

Ubuntu Networking :: Networking Involving Multiple IP Address Types - 192 And 172?

Jul 6, 2011

I have one router, a linksys. It allows wireless and wired connections, as is normal. I have two XP machinesby wire to the router and three linux machines connected wirelessly. The XP machines both have IP addresses beginning with 192.168. while my three linux machines have IP addresses that all begin with 172. None of the machines is connected with a static IP address. All are automatic DHCP.I am told that the above scenario makes no sense. However, such is what I have so, I trust, the theory and the fact do not gel. I would not care except that I cannot see - using the nautilus network servers program, all of the XP computers with some of my linux boxes.

View 9 Replies View Related

General :: What Is The Translation Table And Referance Table In Any DB

Feb 25, 2011

what is the translation table and referance table in any DB (with referance to Data conversion)

View 2 Replies View Related

Networking :: Can't Get An IP Address?

Jan 20, 2010

I installed a copy of Kubuntu on my desktop at work yesterday & I was able to connect to the Internet just fine then but today when I came in I can not get an IP address, from what I can tell. ifconfig just lists the following. eth0 Link encap:Ethernet HWaddr 00:08:74:bc:b0:59 inet6 addr: fe80::208:74ff:febc:b059/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:278 errors:0 Dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:17792 (17.7 KB) TX bytes:3952 (3.9 KB) Interrupt:17

View 8 Replies View Related

Security :: Address Space Randomization On 2.6.28-15-generic Ubuntu 9.04 - Finding Base Address?

Sep 14, 2009

Im an academic (university networks and security lecturer) studying/teaching network and operating system security, and inspired by the work of Hovav Shacham set about testing ASLR on linux. Principley I did this by performing a brute force buffer overflow attack on Fedora 10 and Ubuntu 9. I did this by writting a little concurrent server daemon which accidently on purpose didnt do bounds checking.

I then wrote a client to send it a malicious string brute forcing guessed addresses which caused a return-to-libc to the function usleep with a parameter of 16m causing a delay of 16 seconds as laid out in [URL] Once I hit the delay I new I had found the function and could calculate delta_mmap allowing me to create a standard chained ret-to-libc attack. All of that works fine. However .... To complete my understanding I am trying establish where I can find the standard base address for ubuntu 9 (and other distros) for the following, taken from Shacham:-

Quote:

[code]....

/proc/uid/maps gives me some information but not the base address ldd also gives me the randomised starting address for sections in the user address space but neither gives me the base address. Intrestingly ... when a run ldd with aslr on for over (about) 100 times and checked the start point of libc I determined that the last 3 (least significant) hex digits were always 0's and the fist 4 (most significant) where between 0xB7D7 and 0xB7F9. To me this indicated that bits 22-31 were fixed and bits 12-21 were randomized with bits 11-0 fixed. Although even that doesnt define the boundaries observed correctly.

Note: I am replicating the attack to provide signatures to detect it using IDS, and for teaching purposes. I am NOT a hacker and if needed to could reply from my .ac.uk email address as verification.

View 1 Replies View Related

Programming :: Pass Ip Address, Port Address And Some Parameters From Command Line?

Apr 1, 2011

I want to pass ip address,port address and some parameters from command line using python script.The ip address and port address for establishing socket connection and remaining parameters to execute different connection.

View 1 Replies View Related







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