Vous êtes sur la page 1sur 6

5/15/13

SAProuter - How to setup the saprouter ? What is the saprouter ?

Home Volker Gueldenpfennig SAP Service Marketplace SAP User Groups Status Tracking Kernel Patches Support Packages SAPGui Patches SAP ITS Patches Education Notes // Side-Effects SAP Kernel Programs Cust Messages Service Connection SAP Online Help PDFs Documentation Order CDs Solution Manager Unicode

Note: Display Print SMP Quicklinks Download CDs Vote for us here!

Easy Service Marketplace


[ Home ] [ Print It! ]

Why this website ?

SAProuter - How to setup the saprouter ? What is the saprouter ?


The program SAProuter is the router (software) for the connection from customers to SAP and vice versa. SAP Kernel Programs SAProuter in a SAP System What ports to open for a SAProuter ? How to setup the SAProuter for an SNC Internet-Connection ? How to setup the SAProuter for an VPN-Internet-Connection ? How to setup the SAProuter for NON-Internet-Connection ? How to download the latest version ?

Guestbook
www.easymarketplace.de/saprouter.php

SAProuter online help with all supported command line options and further examples

1/6

5/15/13

SAProuter - How to setup the saprouter ? What is the saprouter ?

Feedback Imprint www.sybeklue.de

SAProuter in a SAP System


This tool SAProuter is designed, to connect different IP Networks even when the IP adresses are in conflict as it does a network adress translation itself. So, this is always used in order to connect SAP with the customer's systems. This is the case for the way from SAP to the customers and mostly the case as well for logging on into the SAP systems from customer's site as well. If the customer uses the SAPNet R/3 Frontend, he has to use the SAProuter on his site. Further information is available in the very good note 30289.

What ports to open for a SAProuter ?


From external to the SAProuter (mostly from Internet to DMZ) The SAProuter is running (listening) on port 3299 by default. When you change this with the option "S" you have to open a different service. But, by default it is just the port 3299 inbound that needs to be available from external partners. The SAProuter now changes the ports to the "original" ones on the computer where the SAProuter is running. So, it looks like for the target system, as if the request would always come from the computer where the SAProuter is running. From the SAProuter to the internal systems (mostly from DMZ to intranet) The SAProuter rerouts all requests from the port 3299 where it is receiving the data to the original ports. Therefore, it is necessary, that you open all ports from the SAProuter to your intranet, that are used in your environment. This is normally at least the SAP system. The SAP systems dispatcher is running on port 32nn where nn is the system number. So, you might have to open port 3200 - keep in mind, that 3299 to the intranet normally is NOT necessary. Overview of a few typical applications and their port needs (especially for the access from SAP to your system): 32nn: R3 Support Connection 23: Telnet 1503: Netmeeting 5601: PC-Anywhere
www.easymarketplace.de/saprouter.php 2/6

5/15/13

SAProuter - How to setup the saprouter ? What is the saprouter ?

3389: Windows Terminal Server (WTS)

How to setup the SAProuter for an VPN-Internet-Connection ?


Even when VPN often sounds horrible complicated this is pretty easy in this scenario ... You just grap the "Remote Connection Data Sheet" from note 28976 and return it filled in to SAP either via Fax or via SAPNet R/3 Frontend (OSS) with componente XX-SER-NET-OSS-NEW (The short text for that message must be "Remote Connection Data Sheet"). In this "Remote Connection Data Sheet" you mainly have to let SAP know the official IP adress of your VPN Server and the second official IP adress of your SAProuter. You then forward this second IP to the server of your choice where you want to run the SAProuter. SAP will setup the VPN access for you and will return the necessary preshared key with the official SAP IP adresses in a few days to you. You then setup your end of the VPN and everything is fine. Installation of the SAProuter itself for VPN works identically to the way via a private line for non internet connections as described below.

How to setup the SAProuter for NON-Internet-Connection ?


The following description is designed for Windows, but for other platforms, there is documentation available as well in the SAP Help Portal. First you have to setup a physically direct connection to SAP. This can be an ISDN-, FrameRelay or similar connection. If a direct connection from your site is not feasable, you can have a look to some service providers, if they can offer you a "OSS-Connection" to SAP for a useful fee. Then you receive a special official IP-Adress from SAP (mostly 2 IPs). One of the IP adresses has to become attached to the server you want to run SAProuter on. This means, that this server can receive several IP adresses (at least your normal local one and the official one from SAP). Create the subdirectory saprouter in the directory <drive>:\usr\sap. Copy the SAProuter.exe either from <drive>:\usr\sap\<SID>\SYS\exe\run or get the latest one as described below from the SAP Service Marketplace. Install the SAProuter as service with ntscmgr as follows:
n t s c m g ri n s t a l lS A P r o u t e rbc : \ u s r \ s a p \ s a p r o u t e r \ s a p r o u t e r . e x ep" s e r v i c erwww.easymarketplace.de/saprouter.php 3/6

5/15/13

SAProuter - How to setup the saprouter ? What is the saprouter ?

Rc : \ u s r \ s a p \ s a p r o u t e r \ s a p r o u t t a bGc : \ u s r \ s a p \ s a p r o u t e r \ r o u t e r . l o g "

(The "parameter" has to become replaced with the additional parameters you are using. This is mostly not necessary at all) Define the general attributes of the service: In C o n t r o lP a n e l > S e r v i c e s , set the startup type to automatic and enter a user. SAProuter should not run under the SystemAccount. To avoid the error message The description for Event ID (0) in the Windows NT event log, you must enter the following in the registry: Under HKEY_LOCAL_MACHINE->SYSTEM>CurrentControlSet->Services->Eventlog->Application, create the key saprouter and define the following values under it:
E v e n t M e s s a g e F i l e( R E G _ S Z ) :< d r i v e > : \ u s r \ s a p \ s a p r o u t e r \ s a p r o u t e r . e x e T y p e s S u p p o r t e d( R E G _ D W O R D ) :0 x 7

Every SAProuter needs a file called "saprouttab". This is normally expected in the same directory as saprouter.exe is located. You should have a look at the end of this web-site or to the SAP Help Portal how to setup this for productive use. Right for the moment for tests, the following line in the file <drive>:\usr\sap\saprouter\saprouttab is sufficient:
P***

(Please change this as soon as your tests are done, as this file opens all ports and all of your systems!) Now, have fun with your SAProuter after starting it via the Windows Service Manager!

How to download the latest version ?


You can download the latest version of all the SAP Executables in the SAP Service Marketplace. As the binaries are different for each platform, you should have a look at the following link: Download Executable Patches on the SAP Service Marketplace

SAProuter online help with all supported command line options and further examples
S A PN e t w o r kI n t e r f a c eR o u t e r s t a r tr o u t e r:s a p r o u t e rr s t o pr o u t e r :s a p r o u t e rs s o f ts h u t d o w n :s a p r o u t e rp
www.easymarketplace.de/saprouter.php 4/6

5/15/13

SAProuter - How to setup the saprouter ? What is the saprouter ?

r o u t e ri n f o :s a p r o u t e rl( L ) n e wr o u t t a b :s a p r o u t e rn t o g g l et r a c e:s a p r o u t e rt c a n c e lr o u t e:s a p r o u t e rci d d u m pb u f f e r s:s a p r o u t e rd f l u s h " :s a p r o u t e rf s t a r tr o u t e rw i t ht h i r d p a r t yl i b r a r y :s a p r o u t e ral i b r a r y a d d i t i o n a lo p t i o n s Rr o u t t a b :n a m eo fr o u t e p e r m i s s i o n f i l e ( d e f a u l t. / s a p r o u t t a b ) Gl o g f i l e :n a m eo fl o gf i l e ( d e f a u l tn ol o g g i n g ) Tt r a c e f i l e:n a m eo ft r a c ef i l e ( d e f a u l td e v _ r o u t ) Vt r a c e l e v :t r a c el e v e lt or u nw i t h ( d e f a u l t1 ) Hh o s t n a m e :o fr u n n i n gs a p r o u t e r ( d e f a u l tl o c a l h o s t ) Ss e r v i c e :s e r v i c e n a m e/n u m b e r ( d e f a u l t3 2 9 9 ) Pi n f o p a s s :p a s s w o r df o ri n f or e q u e s t s Cc l i e n t s :m a x i m u mn oo fc l i e n t s ( d e f a u l t8 0 1 ) Ys e r v e r s :m a x i m u mn oo fs e r v e r st os t a r t( d e f a u l t1 ) K[ m y n a m e ] :a c t i v a t eS N C ;i fg i v e n ,u s e' m y n a m e 'a so w ns e c i d Ai n i t s t r i n g :i n i t i a l i z a t i o no p t i o n sf o rt h i r d p a r t yl i b r a r y D :s w i t c hD N Sr e v e r s el o o k u po f f e x p e r to p t i o n s Bq u e l e n g t h:m a x .n o .o fq u e u e dp a c k e t sp e rc l i e n t ( d e f a u l t1 ) Qq u e u e s i z e:m a x .t o t a ls i z ef o ra l lq u e u e s( d e f a u l t2 0 0 0 0 0 0 0b y t e s ) Ww a i t t i m e :t i m e o u tf o rb l o c k i n gn e t c a l l s( d e f a u l t5 0 0 0m i l l i s e c ) Mm i n . m a x :p o r t r a n g ef o ro u t g o i n gc o n n e c t s ,l i k eM1 . 1 0 2 3 Ua b s _ p a t h :a b s o l u t ep a t hf o rU n i xD o m a i nS o c k e t s , d e f a u l ti s" / t m p / . s a p s t r e a m % d " #t h i si sas a m p l er o u t t a b:D h o s t 1 h o s t 2 s e r v i c e X D h o s t 3 P * * s e r v i c e X P 1 5 5 . 5 6 . * . * 1 5 5 . 5 6 P 1 5 5 . 5 7 . 1 0 1 1 x x x x . * P h o s t 4 h o s t 5 * x x x P h o s t 6 l o c a l h o s t3 2 9 9 P h o s t 7 h o s t 8 t e l n e t S h o s t 9 P 0 , * h o s t 1 0 K P s n c n a m e 1 * * K S * h o s t 1 1 *
www.easymarketplace.de/saprouter.php 5/6

5/15/13

SAProuter - How to setup the saprouter ? What is the saprouter ?

K D K T

" s n c n a m e" a b c " s n c n a m e 3

* h o s t 1 1

* *

#d e n yr o u t e sf r o mh o s t 1t oh o s t 2s e r v i c e X #d e n ya l lr o u t e sf r o mh o s t 3 #p e r m i tr o u t e sf r o ma n y w h e r et oa n yh o s tu s i n gs e r v i c e X #p e r m i ta l lr o u t e sf r o m / t oa d d r e s s e sm a t c h i n g1 5 5 . 5 6 #p e r m i t. . .w i t h3 r db y t em a t c h i n g1 0 1 1 x x x x #p e r m i tr o u t e sf r o mh o s t 4t oh o s t 5i fp a s s w o r dx x xs u p p l i e d #p e r m i ti n f o r m a t i o nr e q u e s t sf r o mh o s t 6 #p e r m i tn a t i v e p r o t o c o l r o u t e st on o n S A P s e r v e rt e l n e t #p e r m i t. . .e x c l u d i n gn a t i v e p r o t o c o l r o u t e s( S A P s e r v e r so n l y ) #p e r m i t. . .i fn u m b e ro fp r e c e d i n g / s u c c e e d i n gh o p s( s a p r o u t e r s )< =0 / * #p e r m i tS N C c o n n e c t i o nw i t hp a r t n e r i d=' s n c n a m e 1 't oa n yh o s t #p e r m i ta l lS A P S A PS N C c o n n e c t i o n st oh o s t 1 1 #d e n ya l lS N C c o n n e c t i o n s w i t hp a r t n e r i d=' s n c n a m e" a b c ' #o p e nc o n n e c t st oh o s t 1 1w i t hS N Ce n a b l e da n dp a r t n e r i d=' s n c n a m e 3 ' #f i r s tm a t c h[ h o s t / s n c n a m eh o s ts e r v i c e ]i su s e d #p e r m i s s i o ni sd e n i e di fn oe n t r ym a t c h e s #s e r v i c ew i l d c a r d( * )d o e sn o ta p p l yt on a t i v e p r o t o c o l r o u t e s #-

If you have some more ideas to this topic, please let us know via the Feedback Area.
[ go to top ]

back

05/15/2013, 07:40:00

www.easymarketplace.de/saprouter.php

6/6

Vous aimerez peut-être aussi